开发者

Map all requests to subpaths of a script to the script itself

I have a script at: http:://vis.setihub.org/dataset/index.php/

I want the server to let the script handle requests of the form: http:://vis.setihub.org/dataset/index.php/mysubpa开发者_如何学Goth/

I can use the PATH_INFO available in PHP to see what subpath was requested. I just don't know how to make the server send the request to the script in the first place instead of looking for the physical path.

Can someone please help me? Thanks.


In Apache, it's just:

AcceptPathInfo On

though the default setting should work for PHP scripts. See the manual.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜