Upgrade to Yosemite - Apache Configuration - Invalid 'User' command

I get this when I upgrade to Yosemite:

$ apachectl configtest
AH00526: Syntax error on line 102 of /private/etc/apache2/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration

      

and on line 102:

User _www

      

Any suggestions?

+3


source to share


1 answer


Add the following line to apache httpd.conf (Default path: /private/etc/apache2/httpd.conf)



LoadModule unixd_module  libexec/apache2/mod_unixd.so

      

+1


source







All Articles