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>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-08-13
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2021-06-22
  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案