![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
.htaccess 文件内容如下
==========================================================
Options FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule (cocoima|id).([[:digit:]]+)$ /index.php?$1=$2 [L,NC]
==========================================================
其中 (cocoima|id)与([[:digit:]]) 中间的 "." 在实际应用中是"?"(现在为了测试)
以上的 表达式能正确执行
http://localhost/cocoima/00000000000000000000
http://localhost/id/000000000000000000
但是不能正确执行
http://localhost/cocoima?0000000000000000000
http://localhost/id?000000000000000000
我的疑问是,为什么路径中不能带 "?"字符? 请哪位知道的告知.谢谢
提问者:yoryoue 08-21 16:04
答复

