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

(01-22-2018, 12:38 AM)ciadmin Wrote: 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!
Hi, where do you set the document root?
Thanks
Reply


Messages In This Thread
RE: How to remove public/index.php/ from url - by dgloria - 11-04-2019, 01:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB