10/19/2023 0 Comments Awstats error.logLoadModule userdir_module libexec/apache2/mod_userdir.so Ensure that the following lines are enabled: /private/etc/apache2/nf Include /private/etc/apache2/extra/nf Note that this is the default path to the userdir conf file, but as you'll see below, it's configurable in nf. #Include /private/etc/apache2/users/*.conf # Just remove the comment to enable your user conf. However, I found that my user config wasn't being included: /private/etc/apache2/extra/nf # Note how it's commented out by default. Given a user named jwork, here was my config file: /private/etc/apache2/users/nf But as far as I could tell by ps aux | egrep '(apache|httpd)' and lsof -i :80, Apache was running for the jwork user, so something was clearly not write with my user configuration. However, I was permitted to access the DocumentRoot, via This suggested that I didn't have rights to view the ~jwork user. However, I was forbidden access to the endpoint I could see in /var/log/apache2/error_log that access to /Users/jwork/Sites/ was being blocked. I used user-specific configurations, with Sites specified as my UserDir in /private/etc/apache2/extra/nf. If none of the other answers on this page for you work, here's what I ran into after hours of floundering around. Options Indexes MultiViews FollowSymLinksĮnsure that any user-specific configs are included! # Possible values include: debug, info, notice, warn, error, crit,ĬustomLog $/access.log combined Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Options Indexes FollowSymLinks MultiViews I checked my site folder permissions using: sudo chmod 777 -R * AH01630: client denied by server configuration I get this error when trying to access localhost via a browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |