• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] 404 error on production server excepting homepage

#8
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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