我在开发机器上使用Wamp来开发项目。这是我的.htaccess:.htaccess mod_rewrite无法正常工作
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?$1 [L]
RewriteBase /project/
这是放在本地主机/工程,使本地主机一样/项目/某事的任何请求,被路由到本地主机/项目/ index.php文件/东西
然而,他们被路由到本地主机/ index.php /东西
我怀疑它与我如何使用RewriteBase有关。我如何解决它?