i have strange effect on 10.11.1 doesn't occur on other mac running 10.10.5:
when add virtual host, no matter via different port or different host name, error msg:
here's how host declared:
code:
<virtualhost *:80> documentroot "/development/mysite/public" servername mysite.local <directory "/development/mysite/public"> options allowoverride require granted </directory> </virtualhost>
of course, path exists , readable (i.e. folder permissions 755 , files inside 644).
there no special acls set (checked "ls -lae").
however, if change path "/development/mysite/public" "/library/webserver/documents", works, i.e. no more permission errors.
same if move entire folder "/library/webserver/mysite" , change paths in config accordingly, if leave ownership of folder normal user , admin group (501:80).
and, said, same setup (same httpd.conf, same folder structure) works without issue on 10.10.5.
so, somehow, web server doesn't seem access files outside /library/webserver folder. wonder if that's part of new rootless changes, cannot find on web on particular issue.
have idea what's going on here , how make work?
i don't think have sip issue. /development doesn't sound directory sip care about. didn't have directory on machine. have sip enabled . root, created directory structure "/development/mysite/public". nothing seemed amiss. check make sure permissions same 10.10.5 machine each of component directories leading /development/mysite/public. if don't have execute permission on, say, mysite, won't able read files in /development/mysite/public though have 755 permission on public , 644 on files. other that, check apache support sites.
Forums Macs macOS OS X El Capitan (10.11)
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment