The requested URL /backend was not found on this server.解决记录

环境:apache2.4.33+php7.2.4

 

apache原配置 


  ServerName zqcms.pro
  ServerAlias zqcms.pro
  DocumentRoot "D:/wamp/www/ZQCms/public/"
  
        		Options +Indexes +Includes +FollowSymLinks +MultiViews
   		     AllowOverride None   
    		Order deny,allow
    		allow from all
		Require all granted
  

 解决方法 把AllowOverride None 修改为 AllowOverride All,然后重启服务就可以了


  ServerName zqcms.pro
  ServerAlias zqcms.pro
  DocumentRoot "D:/wamp/www/ZQCms/public/"
  
        		Options +Indexes +Includes +FollowSymLinks +MultiViews
   		     AllowOverride All   
    		Order deny,allow
    		allow from all
		Require all granted
  

 

你可能感兴趣的:(php)