Problem of creating virtual host in xampp 7.0.8 in mac

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Problem of creating virtual host in xampp 7.0.8 in mac

Postby sothea » 03. August 2016 05:53

I have created the virtual host for xampp in my mac. I got an error " You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.". What are the problem of this? Please help me.

<VirtualHost *:8181>
DocumentRoot "/Users/trysothea/Dropbox/projects"
ServerName localhost
ErrorLog "/Applications/XAMPP/logs/error_log"
<Directory "/Users/trysothea/Dropbox/projects">
Allow from all
</Directory>
</VirtualHost>
sothea
 
Posts: 1
Joined: 03. August 2016 05:44
XAMPP version: 7.0.8
Operating System: Mac

Re: Problem of creating virtual host in xampp 7.0.8 in mac

Postby Nobbie » 04. August 2016 11:38

The user which executes the Apache process (either see httpd.conf and/or see your OSX process table) obviously is not allowed to access your local folder /Users/trysothea/Dropbox/projects
Nobbie
 
Posts: 8759
Joined: 09. March 2008 13:04


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 6 guests