Символ / в конце урла

Dmitriy MiksIr miksir at maker.ru
Wed Jul 30 16:00:41 MSD 2008


Лично я лечу так
rewrite ^(.*/[^/\.]+)$ $1/ permanent;


Rauan Maemirov пишет:
> Если обращаться на /qwerty/, то nginx успешно запускает скрипты из папки 
> "qwerty".
> 
> Но если обращаться /qwerty, то "No input file specified". Как это лечится?
> 
> Вот мой локейшн
> 
>         location / {
>             fastcgi_pass   unix:///var/log/php.sock;
>             fastcgi_index  index.php;
>             fastcgi_param  SCRIPT_FILENAME  /path$fastcgi_script_name;
>             include        fastcgi_params;
>        }






More information about the nginx-ru mailing list