Apache stat'ing all path segments
Bill Moseley <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
FastCgiServer /home/moseley/WS2/script/ws2_fastcgi.pl -processes 3 -socket /tmp/ws2_socket -initial-env PERL5LIB
Alias / /home/moseley/WS2/script/ws2_fastcgi.pl/
So a request for /some/path/here/123 is causing Aapche to stat:
GET http://localhost/some/path/here/123
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some/path/here/123", 0xbffff854) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some/path/here", 0xbffff854) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some/path", 0xbffff854) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some", 0xbffff854) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl", {st_mode=S_IFREG|0775, st_size=1638, ...}) = 0
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some/path/here/123", 0xbffff504) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some/path/here", 0xbffff504) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some/path", 0xbffff504) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl/some", 0xbffff504) = -1 ENOTDIR (Not a directory)
[pid 26149] stat64("/home/moseley/WS2/script/ws2_fastcgi.pl", {st_mode=S_IFREG|0775, st_size=1638, ...}) = 0
Can I get Apache/FastCGI to map all requests to ws2_fastcgi.pl and
avoid all the extra stats?
(well, with some directories handled outside of FastCGI (e.g. static
content).
Thanks,
--
Bill Moseley
[email protected]
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/