mod_fastcgi "/"-prefix extension issue
A bug in mod_fastcgi.c prevents fastcgi settings with the /-prefix as extension not work properly in some situations.
- fixed a bug that made /-prefixed fcgi extensions being handled also when matching the end of the uri (#1489)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2030 152afb58-edef-0310-8abb-c4023f1b3aa9
#2 Updated by icy over 9 years ago
suppose one has a fcgi setting like the following:
fastcgi.server = ( "/fcgi.py" => (....) )
One would expect (having read the docs) that URIs like "/fcgi.py" or "/fcgi.py/foo/bar" are handled by the fcgi backend. That is true, but URIs like "/foo/fcgi.py" will also be forwarded to the fcgi backend because any fcgi extension setting using the /-prefix will match the internal check if it is at the beginning OR THE END of the URI.
The "/foo/fcgi.py" behaviour is contrary to what the docs say because it should ONLY match if at the beginning of the URI.
Also available in: Atom