how to rewrite this: apache to nginx

Igor Sysoev is at rambler-co.ru
Fri Aug 29 14:59:34 MSD 2008


On Fri, Aug 29, 2008 at 12:46:12PM +0200, Robert Gabriel wrote:

> Igor Sysoev wrote:
> > On Fri, Aug 29, 2008 at 11:41:51AM +0200, Robert Gabriel wrote:
> > 
> >> The subdomain config:
> > 
> > Does simple http://helpdesk.visualserver.org/index.php work ?
> > 
> > Probably you need to move
> >      root   /srv/www/helpdesk;
> > to server level to inherit it in "location ~* \.php$" and to get
> > right $document_root variable in fastcgi_param.
> > 
> > PS. looking at these indentions I'm starting to understand python more
> > and more.
> 
> Yes http://helpdesk.visualserver.org/index.php works,  but when I try to 
> login everything starts to be screwed up.

The login page POSTs to /index.php/, then browser gets various URLs like:
/index.php/styles/default/cerberus.css?v=726

Is it correct ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list