0
我在Mac中首次使用XAMPP。用盡訪問根文件夾(htdocs)以外的問題。當我用默認的httpd.conf文件將我的Web應用程序放入htdocs時,它會工作,當我嘗試將我的web應用程序url指向httpd.conf時,它會拋出You don't have permission to access/on this server.
錯誤XAMPP指向根文件夾外的文件
我知道修改我需要做更改我的XAMPP的/ etc/httpd.conf文件
使用默認XAMPP MAC設置根文件夾中,我試圖改變服務器的根,根文件和目錄的XAMPP /etc/httpd.conf文件如下
ServerRoot "/Applications/XAMPP/xamppfiles"
DocumentRoot "/Users/ravi/Documents/Development/Backbone/backboneboilerplate"
<Directory />
#Options FollowSymLinks
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Allow from all
</Directory>
<Directory "/Users/ravi/Documents/Development/Backbone/backboneboilerplate">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>