Welcome Guest, Not a member yet? Register   Sign In
CI in apache userdirs (domain.com/~user/public/ci)
#10

(This post was last modified: 03-20-2021, 10:11 PM by John_Betong.)

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



Theme © iAndrew 2016 - Forum software by © MyBB