首页 > Web开发 > 详细

The requested URL /xxxx.html was not found on this server

时间:2017-10-29 13:43:27      阅读:259      评论:0      收藏:0      [点我收藏+]

The requested URL /xxxx.html was not found on this server 的原因是,Apache没有开启重写

apache 打开 httpd.conf 文件找到

#LoadModule rewrite_module modules/mod_rewrite.so

 去掉前面的#号

虚拟机文件http-vhosts.conf设置如下

<Directory "E:\wamp\www\ppoffice">
               Options Indexes FollowSymLinks ExecCGI
               Order allow,deny
               Allow from all
               AllowOverride All
 </Directory>

 

The requested URL /xxxx.html was not found on this server

原文:http://www.cnblogs.com/itslives-com/p/mod_rewrite.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!