Rewrite - problem

makdar makdar at gmail.com
Wed Aug 8 23:37:03 MSD 2007


Hi,
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"
Any ideas ?





More information about the nginx mailing list