fastcgi, try_files, problems

Dick Middleton dick at fouter.net
Thu Jul 16 16:48:27 MSD 2009


Tomasz Pajor wrote:

 > I have a problem with proper configuration of my page.

Coo!  Let me have a go.  I'm brand new to nginx so just testing my 
reading ability :)

> Don't know what am I doing wrong, but the debug says that when i go to 
> http://domain.com/administrator it uses the location /administrator but 
> then it's redirected to /index.php and it uses location /, so not as I 
> intended.

Is it the order of location directives:   location / satisfies 
/administrator before location /administrator

So change the order in config - am I right?

Dick






More information about the nginx mailing list