• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI in apache userdirs (domain.com/~user/public/ci)

#12
Quote:@evansharp,
If I match any url to the stock Home controller ($routes->get('/(:any)', 'Home::index'); ), I can get the splash page. This supports what the 404 error has been indicating all along: that the router is trying to match the mod_userdir part of the url to a controller.

Great progress. I prefer not to modify the original installation and modify the Routes.php to load a NewController.php.

Copy the Home.php Controller to a NewController.php. Numerous modifications to the NewController.php are required to accept the new Routes.php instructions. Also create new NewController.php methods and ensure the URL activates the relevant methods.

Also activate .htaccess and test for "Pretty Urls".
Reply


Messages In This Thread
RE: CI in apache userdirs (domain.com/~user/public/ci) - by John_Betong - 03-21-2021, 08:55 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.