PDA

View Full Version : ispconfig.conf file in wrong place


theamoeba
26th February 2009, 22:46
hi, think i found a bug in the fedora version of ispconfig 3.

bug is that the ispconfig.conf in /etc/httpd/conf/sites-available is not being read by apache and therefore the NameVirtualHost is not being read. This causes apache to only read one domain.tld.vhost and disregard the others.

what i did was move the ispconfig.conf into /etc/httpd/conf.d and it seems to work fine now, i suppose this is not a great thing to do, you could also edit the httpd.conf file and include the file i dont know.

perhaps someone could look into this and change it?

thanks, J

falko
27th February 2009, 15:25
I've added this to our bugtracker. Fedora and CentOS support is still experimental.

reason8
4th May 2009, 07:05
I've added this to our bugtracker. Fedora and CentOS support is still experimental.

How about OpenSuse 11.1? I am having the same problem and getting the same error but not on install. Only on restararting apache2 but the result is the same.

till
4th May 2009, 09:13
The conf file is in the correct place and the folder is read by apache. Take a look at your apache2.conf file or httpd.conf file, you will find the include statements there.

reason8
4th May 2009, 14:42
The conf file is in the correct place and the folder is read by apache. Take a look at your apache2.conf file or httpd.conf file, you will find the include statements there.

Ok. Someone gave me the solution to my problem. I needed to add the server IP manually to the server IP config. There is no way I would have guessed this. I figured the server KNEW it was using the static ip from the install. *shrugs*.

Thanks for your help. I the new ISPConfig 3 rocks. It seems way more robust than its predecesor, the look and feel are far superior and its the new version so I am happy! :)

jcasoft
15th May 2009, 00:49
In the /etc/apachae2/sites-available (For OpenSuse)
the file of your domain: yourdomain.com.vhost

<VirtualHost *:80>


DocumentRoot /srv/www/yourdomain/web



ServerName www.yourdomain.com # your complete FQDN
ServerAdmin webmaster@yourdomain.com
.....
.....

If you create a New site in ISPCONFIG3 in the field
Domain: www.yourdomain.com # your complete FQDN

If you enter only Domain: yourdomain.com
the /etc/apachae2/sites-available (For OpenSuse)
the file of your domain: yourdomain.com.vhost

the line ServerName yourdomain.com # you need to add manualy the www
like: ServerName www.yourdomain.com


This work fine for me.:)

till
15th May 2009, 08:47
No need for editing anything manually. You just missed to enable the auto subdomain www in the site settings.