WeirdMystery Posted May 2, 2010 Share Posted May 2, 2010 I removed the default virtual server from apache using webmin since it did not work. I added 2 virtual hosts, but when I restart apache it gives me this error. apache2: Syntax error on line 235 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory ...fail! So I go to /etc/apache/sites-enabled, there were two files. lrwxrwxrwx 1 root root 26 Apr 21 02:31 000-default -> ../sites-available/default (shows red, idk what that means.) lrwxrwxrwx 1 root root 46 May 2 17:09 pyrohawk.com.conf -> /etc/apache2/sites-a Then I go to the config file, I go on line 235 and it has "Include /etc/apache2/sites-enabled/". Quote Link to comment https://forums.phpfreaks.com/topic/200465-apache-error/ Share on other sites More sharing options...
trq Posted May 2, 2010 Share Posted May 2, 2010 shows red, idk what that means. It means that the file the link is pointing to is missing. eg: /etc/apache/sites-available/default is missing. Quote Link to comment https://forums.phpfreaks.com/topic/200465-apache-error/#findComment-1052149 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.