thanks. that works. but somehow I have to define all the fastcgi params everytime. for example can't I just define fatscgi_pass and fastcgi_index once instead of everytime for a new location. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,220191,220228#msg-220228