*.php/anyresponce

NiteWave

Administrator
#3
did simple tests:

it's default behavior of Apache as well

e.g, the default is
AcceptPathInfo Default
http://httpd.apache.org/docs/current/mod/core.html
Code:
Default
       The treatment of requests with trailing pathname information is determined by the handler responsible for the request. The core handler for normal files defaults to rejecting PATH_INFO requests. Handlers that serve scripts, such as cgi-script and isapi-handler, generally accept PATH_INFO by default.
my test show that
AcceptPathInfo On/Off
no effect to lsws. lsws just stick to "AcceptPathInfo Default"

and test show that if the php script has query string,
AcceptPathInfo On/Off
also no effect to apache.

for example,
domain.com/hello.php?a=1/aaa/sss/ddd/fff
the behavior are same between apache and lsws
 
#4
did simple tests:

it's default behavior of Apache as well

e.g, the default is
AcceptPathInfo Default
http://httpd.apache.org/docs/current/mod/core.html
Code:
Default
       The treatment of requests with trailing pathname information is determined by the handler responsible for the request. The core handler for normal files defaults to rejecting PATH_INFO requests. Handlers that serve scripts, such as cgi-script and isapi-handler, generally accept PATH_INFO by default.
my test show that
AcceptPathInfo On/Off
no effect to lsws. lsws just stick to "AcceptPathInfo Default"

and test show that if the php script has query string,
AcceptPathInfo On/Off
also no effect to apache.

for example,
domain.com/hello.php?a=1/aaa/sss/ddd/fff
the behavior are same between apache and lsws
This is will be fixed?
 

mistwang

LiteSpeed Staff
#5
It is not likely be changed, however, you can easily address it with a rewrite rule, by testing the PATH_INFO env with RewiteCond directive.
 
Top