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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.