phpStudy 切换版本后没有权限的问题

在httpd-vhosts.conf配置如下:

<VirtualHost *:80> ServerName www.jy.com DocumentRoot "C:htdocswww.jy.com" ErrorDocument 400 /errpage/400.html ErrorDocument 403 /errpage/403.html ErrorDocument 404 /errpage/404.html ErrorDocument 405 /errpage/405.html ErrorDocument 500 /errpage/500.html <Directory "C:htdocswww.jy.com"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory> </VirtualHost>

 

 

原文地址:https://www.cnblogs.com/share123/p/7508686.html