I have updated my OS to Yosemite and the only issue I have is that my localhost is not working anymore. Please excuse if the questions sounds dumb but I have limited knowledge about servers.
with Mavericks I was able to use localhost
and customdomain.dev
right after a system start. Also my MySQL server has been started without any actions
Now Google Chrome throws an ERR_CONNECTION_REFUSED
error when using localhost.
I run
apachectl configtest
which returns
httpd: Syntax error on line 58 of /private/etc/apache2/httpd.conf: Cannot load libexec/apache2/mod_authn_default.so into server: dlopen(/usr/libexec/apache2/mod_authn_default.so, 10): image not found
if I comment out this line it continues with other modules. When I comment out all modules which causes this syntax error I get
AH00526: Syntax error on line 131 of /private/etc/apache2/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
I'm using the httpd.conf
file from Mavericks (where everything worked fine)
I have no idea what I should do next
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…