Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: алиасы/локейшены
On Thu, May 31, 2012 at 11:19:16AM +0400, Anton Gorlov wrote:
> помогите решить проблему с алиасами/локейшеном.
>
> В конфигурации
>
> location /smokeping/ {
> alias /usr/local/smokeping/htdocs;
>
> location ~ \.fcgi$ {
> include fastcgi_params;
> fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock;
> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
> fastcgi_param REMOTE_USER $remote_user;
> }
> }
>
>
> Однако при обрашении к
> http://monitoring.local/smokeping/smokeping.fcgi в логе светится
> FastCGI sent in stderr: "Cannot chdir to script directory
> (/usr/local/smokeping/htdocs/smokeping)"
fastcgi_param SCRIPT_FILENAME $request_filename;
--
Igor Sysoev
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|