I have a strange effect on 10.11.1 that doesn't occur on my other Mac running 10.10.5:
When I add a virtual host, no matter via a different port or with a different host name, I get the error msg:
Here's how the host is declared:
Of course, the path exists and is readable (i.e. folder permissions are 755 and files inside are 644).
There are no special ACLs set (checked with "ls -lae").
However, if I change the path from "/Development/mysite/public" to "/Library/WebServer/Documents", then it works, i.e. no more permission errors.
Same if I move my entire folder to "/Library/WebServer/mysite" and change the paths in the config accordingly, even if I leave the ownership of the folder to my normal user and the admin group (501:80).
And, as already said, the very same setup (same httpd.conf, same folder structure) works without this issue on 10.10.5.
So, somehow, the web server doesn't seem to get access to any files outside the /Library/WebServer folder. I wonder if that's also part of the new rootless changes, but I cannot find anything on the web on this particular issue.
Does anyone have an idea what's going on here and how to make this work?
When I add a virtual host, no matter via a different port or with a different host name, I get the error msg:
(13)Permission denied: ... AH00035: access to ... denied ... because search permissions are missing on a component of the path
Here's how the host is declared:
Code:
<VirtualHost *:80>
DocumentRoot "/Development/mysite/public"
ServerName mysite.local
<Directory "/Development/mysite/public">
Options All
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Of course, the path exists and is readable (i.e. folder permissions are 755 and files inside are 644).
There are no special ACLs set (checked with "ls -lae").
However, if I change the path from "/Development/mysite/public" to "/Library/WebServer/Documents", then it works, i.e. no more permission errors.
Same if I move my entire folder to "/Library/WebServer/mysite" and change the paths in the config accordingly, even if I leave the ownership of the folder to my normal user and the admin group (501:80).
And, as already said, the very same setup (same httpd.conf, same folder structure) works without this issue on 10.10.5.
So, somehow, the web server doesn't seem to get access to any files outside the /Library/WebServer folder. I wonder if that's also part of the new rootless changes, but I cannot find anything on the web on this particular issue.
Does anyone have an idea what's going on here and how to make this work?