Rewrite rule for nginx from Apache

Igor Sysoev igor at sysoev.ru
Thu May 26 17:51:42 MSD 2011


On Thu, May 26, 2011 at 09:46:47AM -0400, the_traveller wrote:
> the public_html dir is in
> /usr/local/www

location /Joke/ {
    fastcgi_pass  backend;
    fastcgi_param SCRIPT_FILENAME /usr/local/www/public_html/jokes.php;
    fastcgi_param QUERY_STRING $args;
    inlcude       fastcgi_params;
}


-- 
Igor Sysoev



More information about the nginx mailing list