ForceType directive in nginx fastcgi?

Igor Sysoev is at rambler-co.ru
Thu Feb 22 21:04:20 MSK 2007


On Thu, Feb 22, 2007 at 05:57:16PM +0000, Paul wrote:

> > 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)

What PHP script should handle /search/nginx URL ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list