正文  软件开发 > PHP编程技术 >

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

The requested URL /xxxx.html was not found on this server,requestedxxxx.htmlThe requested URL /xxx...

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

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:wampwwwppoffice">
               Options Indexes FollowSymLinks ExecCGI
               Order allow,deny
               Allow from all
               AllowOverride All
 </Directory>

http://www.bkjia.com/PHPjc/1231309.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1231309.htmlTechArticleThe requested URL /xxxx.html was not found on this server,requestedxxxx.html The requested URL /xxxx.html was not found on this server 的原因是,Apache没有开启重写 apa...