Welcome Guest, Not a member yet? Register   Sign In
CI on NginX
#1

[eluser]anishpsla[/eluser]
I am facing a strange problem. I transfer all files into the production server. Which is a NginX server on Ubuntu. Now I am facing a strange problem. When I try to access controller other than the default controller, the page redirect to root. I install the application on CI folder. I change the configuration file. Still it redirect to / of the server.

eg:

http://domain/ci and http://domain/ci/index.php -> display the default controller.
http://domain/[any controller] -> redirect to root (http://domain/) of the webserver

My development server is IIS 7.5 express on Windows XP (Works great. Super fast and easy to setup).
#2

[eluser]Flemming[/eluser]
Not sure how helpful this answer will be but I'll do it anyway.

I don't use NginX personally but I have had to put a CI site onto a server running NginX and the only problem I encountered was that I couldn't use my normal mod_rewrite rules.

Could that explain the problem you're experiencing? (certainly sounds like it)
#3

[eluser]anishpsla[/eluser]
Finally I sort out the problem. It's the problem related to NginX configuration. The problem was 404 error will redirect to webroot.

Can you help me in this matter

http://ellislab.com/forums/viewthread/241266/




Theme © iAndrew 2016 - Forum software by © MyBB