Home
Sign Up
Sign In
V2EX
›
分享发现
发现 PHP 内置的 Web Server 一个有意思的特性:当访问 /foo/bar 不存在的路径时,会自动路由到 根目录的 index. PHP ,还可获取到正常的 pathinfo 等信息,类似于一种自动的 url rewrite 机
xiaoyanbot
·
Dec 27, 2021
· 2256 views
This topic created in 1791 days ago, the information mentioned may be changed or developed.
https://www.php.net/manual/zh/features.commandline.webserver.php
PHP
index
foo
path
3 replies
•
2021-12-28 14:57:44 +08:00
r007b34r
Dec 28, 2021
1
Emmmm 好像很久以前就加入了 web pentest payload list 豪华套餐
xiaoyanbot
OP
Dec 28, 2021
2
@
r007b34r
什么意思
opengps
Dec 28, 2021 via Android
3
貌似本来就有这种 404 处理逻辑,(我是参考 iis 下的配置说的这句)
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1063 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 17:51
·
PVG 01:51
·
LAX 09:51
·
JFK 12:51
♥ Do have faith in what you're doing.
❯