我已经安装了 WAMP,并且在E:/wamp/www/project/index.php链接中的一个项目从index.php重定向到show.php我正在使用下面的.htaccess脚本来使 URLshow.php显示为/article-title而不是它通常所做的那样show.php?id=xxx
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)$ show.php?id=$1 [QSA,L]
但是,在索引/显示页面旁边找到的上述.htaccess文件project/似乎不起作用。当我去时,它甚至没有向我显示项目文件夹www/
我不知道问题出在哪里,并且rewrite-module已打开