Rewrite - problem

Igor Sysoev is at rambler-co.ru
Wed Aug 8 23:50:54 MSD 2007


On Wed, Aug 08, 2007 at 09:37:03PM +0200, makdar wrote:

> can anyone tell me why nginx doesn't see any files form my subfolder 
> using rewrite. This is an example:
> ...
> location / {
>            include /opt/nginx/conf/fcgi.conf;
>            fastcgi_pass  127.0.0.1:10000;
>            fastcgi_index index.php;
>            root   /home/my.website;
>            index  index.php index.html;
> 
>            rewrite ^/galery/(.+)$ /galery/index.php last;
> ...
> and it doesn't work i get allways info:
> "The page you are looking for is temporarily unavailable"

What is in error_log ?


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





More information about the nginx mailing list