我升级了ubuntu 13.10,现在我的localhost无法运行

时间:2013-10-20 16:12:37

标签: ubuntu apache2

我升级了我的ubuntu 13.10并且我的本地主机无法正常工作。当我试图重新设置我的apache2时,它出现了像bellow一样的错误,

 * Restarting web server apache2                                                                                                         [fail] 
 * The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 1 of /etc/apache2/conf-enabled/httpd.conf:
Invalid command '\xe2\x80\x9cServerName', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.

我怎样才能让localhost工作?请帮帮我

1 个答案:

答案 0 :(得分:0)

看看这里: https://askubuntu.com/questions/362682/ubuntu-13-10-server-403-error-after-upgrading-to-apache2-4

我刚遇到同样的问题,这解决了我的问题。