Welcome! Log In Create A New Profile

Advanced

Re: fastcgi + php

Anton Kiryushkin
June 03, 2010 10:08AM
Теперь так, результат тот же.

location ~ ^/upper/.+\.php$ {
fastcgi_pass 127.0.0.1:8888;
include fastcgi_params;
fastcgi_param DOCUMENT_ROOT /path/to/upper;
fastcgi_param SCRIPT_FILENAME /path/to$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
}

location ~ ^/.+\.php$ {
fastcgi_pass 127.0.0.1:8888;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param DOCUMENT_ROOT /path/to/scripts;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
}


3 июня 2010 г. 17:44 пользователь hg_04 <nginx-forum@nginx.us> написал:
> -fastcgi_param SCRIPT_FILENAME /path/to/upper$fastcgi_script_name;
> +fastcgi_param SCRIPT_FILENAME /path/to$fastcgi_script_name;
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,94033,94068#msg-94068
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>



--
Best regards,
Anton Kiryushkin,

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

fastcgi + php

Anton Kiryushkin June 03, 2010 08:30AM

Re: fastcgi + php

Vasiliy G Tolstov June 03, 2010 08:40AM

Re: fastcgi + php

Anton Kiryushkin June 03, 2010 08:46AM

Re: fastcgi + php

hg_04 June 03, 2010 09:34AM

Re: fastcgi + php

hg_04 June 03, 2010 09:40AM

Re: fastcgi + php

hg_04 June 03, 2010 09:44AM

Re: fastcgi + php

Maxim Dounin June 03, 2010 10:04AM

Re: fastcgi + php

Anton Kiryushkin June 03, 2010 10:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 48
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready