drupal在本地重新安装,诸如"admin"之类的URL无法找到页面

fro*_*sty 1 apache mod-rewrite drupal wamp

我刚刚下载了我的drupal网站.

我可以查看主页,内容似乎是从数据库中读取的.但是我无法到达

http:// localhost:81/adminhttp:// localhost:81/aboutus

我启用了"mod_rewrite"

我可以查看"?q = node/266"等内容

我已经设置了虚拟主机

ServerName localhost DocumentRoot"C:/ wamp/www/mySite /"

unn*_*unn 5

这是你的apache配置.我在新的apache安装上一直遇到这个问题.如果您打开apache.conf或虚拟主机conf文件,则需要将<Directory>中的AllowOverrides从none更改为all.

<Directory />
Options Includes
AllowOverride All
</Directory>