Talon21 Posted October 10, 2008 Share Posted October 10, 2008 Hell, I'm running a VPS on Debian OS, while I tried to restart Apache I received the following error: Forcing reload of web server (apache2)...Syntax error on line 1 of /etc/apache2/sites-enabled/000-default: Invalid command '<VirutalHost', perhaps misspelled or defined by a module not included in the server configuration failed! I have no idea what to do, And my server is down for now, please advice. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/127863-apache-failed/ Share on other sites More sharing options...
wildteen88 Posted October 10, 2008 Share Posted October 10, 2008 You spelt VirtualHost as VirutalHost (u in wrong place) Quote Link to comment https://forums.phpfreaks.com/topic/127863-apache-failed/#findComment-662117 Share on other sites More sharing options...
webmasteroy Posted October 10, 2008 Share Posted October 10, 2008 Haha, that is just to funny! Quote Link to comment https://forums.phpfreaks.com/topic/127863-apache-failed/#findComment-662201 Share on other sites More sharing options...
Maq Posted October 10, 2008 Share Posted October 10, 2008 actually it's scary... Quote Link to comment https://forums.phpfreaks.com/topic/127863-apache-failed/#findComment-662255 Share on other sites More sharing options...
Talon21 Posted October 10, 2008 Author Share Posted October 10, 2008 I fixed it, now I got this error: Forcing reload of web server (apache2)...Syntax error on line 49 of /etc/apache2/sites-enabled/000-default.save: Invalid command 'VirtualDocumentRoot', perhaps misspelled or defined by a module not included in the server configuration failed! Quote Link to comment https://forums.phpfreaks.com/topic/127863-apache-failed/#findComment-662321 Share on other sites More sharing options...
wildteen88 Posted October 11, 2008 Share Posted October 11, 2008 You'll need to make sure the mod_vhost_alias module is enabled in order for that command to work. Quote Link to comment https://forums.phpfreaks.com/topic/127863-apache-failed/#findComment-662670 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.