Keep Alive piles up
meto
nginx-forum at nginx.us
Mon Jun 29 18:18:27 MSD 2009
I have my candidate for this failure. To enable php for many directories in a domain with different root dirs i use if for php not sugested location. By the way it's grate and take me a while to figure ;)
#php support
if ( $request_filename ~* \.php(.*)$ ) { # is it php?
fastcgi_pass 127.0.0.1:9000;
expires off;
}
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
I used if ( $request_filename ~* \.php(.*)$ ) { for capability with apache which inderstands /index.php/someargs as a php file with /someargs arguments - this is used by SMF option to remove ? from adress.
Apparently this led to some bogus queries with images extensions that where passed to fastcgi.
Tu sum up i disabled that option and i'm waiting to see if there are any results. But it shows that we have to work on the way nginx reads the real name of the files. Examples of such links you can see on http://www.gimpuj.info/index.php
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,3374,3525#msg-3525
More information about the nginx
mailing list