xmapp配置出现403问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/mhlghy/article/details/78092853

找到\xampp\apache\conf\httpd.conf配置文件
错误一
Access forbidden!
You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403

解决方法一
找到Directory 目录然后进行复制权限

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from allow
</Directory>

错误二
You don’t have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

解决方法二
找到Directory 目录然后进行复制权限

<Directory />
   Options Indexes FollowSymLinks Includes ExecCGI  
    AllowOverride All  
    Require all granted 
</Directory>

猜你喜欢

转载自blog.csdn.net/mhlghy/article/details/78092853