Welcome Guest, Not a member yet? Register   Sign In
How to remove public/index.php/ from url
#2

(This post was last modified: 01-22-2018, 12:41 AM by ciadmin.)

https://bcit-ci.github.io/CodeIgniter4/g...x-php-file

If xxx/controller doesn't work, but xxx/index.php/controller does, then your htaccess is not working. Could be rewrite_module not loaded, or wrong permissions.
If xxx/controller doesn't work, but xxx/public/controller does, then your document root is set incorrectly inside apache.

If you have to resort to xxx/public/anything, then your document root is set incorrectly!
Reply


Messages In This Thread
RE: How to remove public/index.php/ from url - by ciadmin - 01-22-2018, 12:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB