Nginx rewrites duplicating directory?

mike meade lists at ruby-forum.com
Thu May 10 17:51:48 UTC 2012


Hi Everyone,

I have installed nginx on a new centos server using fastcgi. I am having
a little problem with the nginx config file.

When my site is trying to grab a css file for example:

http://domain.com/app/css.php?request=skin/theme.css

It redirects to:

http://domain.com/app/css.php/app/css.php?request=skin/theme.css

And therefore throws a 404 because it has somehow duplicated the
directory structure.

I was wondering if anyone else had had a similar problem in the past and
could share their wisdom? :-)

Thanks

Mike

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list