Jump to content

Apache Error...


Recommended Posts

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/".

Link to comment
https://forums.phpfreaks.com/topic/200465-apache-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.