On Mon, May 23, 2011 at 01:18:30PM -0400, the_traveller wrote:
> Hi mr Igor
> I'm sory coz i toke alittle bit too long
>
> so if i have to make any ngnix rule i have to make it like that by ex:
>
> location /Joke/ {
> fastcgi_pass ...
> fastcgi_param SCRIPT_FILENAME /jokes.php;
> fastcgi_param QUERY_STRING $args;
> ...
> }
>
> and the Original Apache rule is
> RewriteRule ^Joke/.* jokes.php [QSA]
>
> sposing that the script is in the public dir of the ftp
> is my try right??
SCRIPT_FILENAME should point to a file, for example,
/usr/www/scripts/jokes.php.
> and also is the three dots in the second line
> fastcgi_pass ...
> and before the closing tag
> ...
> }
> is this is right or i have to remove them ??
>
> thanks alot for ur help
> and if i have removed them
dots means that you should add your specific paramters, that is,
fastcgi_pass backend:9000;
etc.
--
Igor Sysoev
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx