本文介绍了禁止MAC OS X Xampp访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在MAC中安装了XAMPP.

I have installed the XAMPP in my MAC.

我只是试图打开一个文件夹,它返回了错误403:禁止访问!

And i just tryed to open a folder and it's returned a error 403: Access forbidden!

我在论坛上读到我需要更改httpd存档,但是,更改之后,没有任何更改,因此错误提示访问被禁止!在我的文件夹/站点上继续.

I read on foruns that i need to change the httpd archive, but, after the changes, no change, the error Access forbidden! on my folder/sites continues.

我已更改的http.conf位于:"Applications/XAMPP/xamppfiles/apache2/conf"

The http.conf that i have changed are here: "Applications/XAMPP/xamppfiles/apache2/conf"

Alias /bitnami/ "/Applications/XAMPP/xamppfiles/apache2/htdocs/"
Alias /bitnami "/Applications/XAMPP/xamppfiles/apache2/htdocs"

    <Directory />
        Options All
        AllowOverride All
        Order deny,allow
        Allow from all
    </Directory>

谢谢!

-

已解决: http://f6design.com/journal/2012/03/11/configuring-virtualhosts-in-xampp-on-mac/

推荐答案

此链接真的很有帮助

您需要的只是权利.

我没有启用虚拟主机.

我刚刚替换了/Applications/XAMMP/xammpfiles/etc/httpd.conf

所以我可以访问我的自定义文件夹(通过htdocs文件夹中的符号链接)

So I got access to my custom folders (through symlinks in htdocs folder in my case)

这篇关于禁止MAC OS X Xampp访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 19:19