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

#10
Quote:@evansharp,
What are you thoughts on the RewriteBase directive of the public/.htaccess? FollowSymLinks are enabled. This is the current config:

.htaccess is not required in order to display the Splash Screen. I think the main purpose of .htaccess is for apache2 redirection of Pretty Urls. Without a .htaccess file apache2 is usually set so that index.php is called first and this in turn calls CodeIgniter4.

Please temporarily rename .htaccess to something like .htaccess-ORIGINAL

The .htaccess file instructions maybe preventing CodeIgniter4 from rendering the Splash Screen. Errors are usually logged in Ubuntu's /var/www/log/apache2/errors.log

If the Splash Screen is still not rendering then add echo __file__; die; to the following files and see if they are being called:
./app/Config/Routes.php
./app/Controllers/BaseController.php
./app/Controllers/Home.php
Reply


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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