Menu

#2502 sites-available / sites-enabled config does not work

open
5
2015-02-08
2006-05-15
Anonymous
No

I'm trying to setup webmin for my debian webserver.

I configured the following options in the apache module
for webmin:

File or directory to add virtual servers to:
sites-available

Directory to create links in for new virtual servers:
/etc/apache2/sites-enabled/

But then, when I try to add a new virtual host, I get:

Failed to create virtual server : The new virtual
server was added to
/etc/apache2/sites-available/test.conf, but this file
is not used by Apache. Check the module configuration
and make sure the 'File or directory to add virtual
servers to' is correct.

The apache server doesn't list the created servers
under "Virtual Servers" either.

Under bash:

leon@linuxbak:~$ ls -al /etc/apache2/sites-enabled/
total 8
drwxr-xr-x 2 root root 4096 2006-05-15 10:17 .
drwxr-xr-x 9 root root 4096 2006-05-15 10:17 ..
lrwxrwxrwx 1 root root 38 2006-05-15 10:07 test.conf
-> /etc/apache2/sites-available/test.conf

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Please, is anyone out there having this problem?

     
  • Jamie Cameron

    Jamie Cameron - 2006-06-07

    Logged In: YES
    user_id=129364

    Do you have an entry in your httpd.conf file like :

    Include /etc/apache2/sites-enabled/*

    This should be in there by default, but the error message
    suggests that it is missing..

     

Log in to post a comment.

Auth0 Logo