Chinaunix
标题:
请问:apache如何处理类似/index.php/index.php/这样的地址
[打印本页]
作者:
liyupeng
时间:
2005-10-14 16:26
标题:
请问:apache如何处理类似/index.php/index.php/这样的地址
我访问http://bbs.chinaunix.net/forum/index.php/index.php/
发现cu会自动跳到首页
而我在自己电脑的apache上方位类似的地址时却不会跳转,但可以访问到页面内容,请问这是怎么一回事啊?如何配置apache才能做到自动跳转呢?
作者:
HonestQiao
时间:
2005-10-14 16:51
标题:
请问:apache如何处理类似/index.php/index.php/这样的地址
rewrite
http://w.yi.org/ftp/FAPM/apache/Apache2/zh/misc/rewriteguide.html
作者:
liyupeng
时间:
2005-10-14 17:04
标题:
请问:apache如何处理类似/index.php/index.php/这样的地址
恩,先谢过斑竹
但还有一点没有找到答案
Apache本身就支持/index.php/index.php/这样的地址访问吗??
作者:
HonestQiao
时间:
2005-10-14 17:16
标题:
请问:apache如何处理类似/index.php/index.php/这样的地址
支持
作者:
geel
时间:
2005-10-15 00:33
标题:
请问:apache如何处理类似/index.php/index.php/这样的地址
<File index.php>;
ForceType application........ .php
</File>;
作者:
netos
时间:
2005-10-15 00:49
标题:
请问:apache如何处理类似/index.php/index.php/这样的地址
应该是PATH_INFO。
后面的/index.php/做为参数传递
用$_SERVER['PATH_INFO']可以取得。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2