3

I'm getting 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?

Snowcrash
  • 80,579
  • 89
  • 266
  • 376
  • Turns out my conf file got blasted (again!). This helps: http://stackoverflow.com/questions/26454160/get-localhost-running-on-mac-os-x-yosmite?rq=1 – Snowcrash Nov 07 '14 at 21:12

1 Answers1

2

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

LoadModule unixd_module  libexec/apache2/mod_unixd.so
Vijay
  • 365
  • 1
  • 2
  • 12