Welcome Guest, Not a member yet? Register   Sign In
[solved] 404 error on production server excepting homepage
#8

(This post was last modified: 03-04-2015, 02:26 AM by Floyd_C.)

Hi All !


Thanks to $this !!


The server uses Nginx !

So : it doesn't read .htaccess ; the server needed a [ php_redirect_to_index ] command on my main directory ; and, just in case, this server need a special configuration for a wordpress and other .htaccess requierement

And I strongly recommand to check http://wiki.nginx.org/Codeigniter to resolve this issue.

Using all those thing, you'll be able to remove all index.php from your uri, without using an .htaccess file.

As my host says, Nginx is in a good way to replace Apache on all server around the world. I don't if its true, but nevermind, my problem is solved.

As I said in my original post, I strongly advise CodeIgniter team to add a word on the official doc about Nginx, just in case...

Thank you all again !
Kiss
Reply


Messages In This Thread
RE: 404 error on production server - by Avenirer - 03-03-2015, 04:36 AM
RE: 404 error on production server - by Floyd_C - 03-03-2015, 04:44 AM
RE: 404 error on production server excepting homepage - by Floyd_C - 03-04-2015, 02:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB