需求:
http://site.com/a
http://site.com/a/
http://site.com/a/index.html
获取a
http://site.com/a/b/c/d
http://site.com/a/b/c/d/
http://site.com/a/b/c/d/index.html
获取d均获取最后一个目录的名称,最后一个斜杠可有可无,或者也可以使用index.html
http://site.com/a
http://site.com/a/
http://site.com/a/index.html
获取a
http://site.com/a/b/c/d
http://site.com/a/b/c/d/
http://site.com/a/b/c/d/index.html
获取d均获取最后一个目录的名称,最后一个斜杠可有可无,或者也可以使用index.html
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货