ForceType directive in nginx fastcgi?

Paul plin at lexico.com
Thu Feb 22 20:57:16 MSK 2007


> You should use
> 
>    location /search {
>            fastcgi_pass   127.0.0.1:9000;
>            # fastcgi_pass   /tmp/php-fastcgi.socket;
> 
>            fastcgi_param  SCRIPT_FILENAME  /root/path$fastcgi_script_name;
>            include        fastcgi_params;
>    }

Hi Igor,

Thank you so much for your speedy response!

Your suggestion works for URLs like /search?param=nginx but my URLs needs to be
like /search/nginx (404 error)

paul







More information about the nginx mailing list