View Single Post
Old 13th January 2010, 12:16
gjaouen gjaouen is offline
Junior Member
Join Date: Dec 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts

Hello ),

I've setup ispconfig3 as you ask me for auto subdomain to www for my two test sites :

I've changed my httpd.conf file of centos by disabling the two NameVirtualHost directive at the end of the file as they're in 000-ispconfig.conf :

I add the ip to 000-ispconfig.vhost :
Listen 8080

If you try accessing the website now it seem to work. But I've still one problem with ispconfig virtualhost file generated by ispconfig. When I set Own Error-document option, if you try for example the server doesn't redirect to the root of the vhost to the 404 own error page.
The vhost is setup with these elements :
DocumentRoot /var/www/
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html

All files exists and are correct in /var/www/ :
400.html to 503.html

Log output of show that apache2 doesn't search error pages at the good place /var/log/ispconfig/httpd/ :
[Wed Jan 13 10:38:52 2010] [error] [client] File does not exist: /var/www/
[Wed Jan 13 10:38:52 2010] [error] [client] File does not exist: /var/www/error/404.html

The only message I get is when I use apachectl :
[root@servrlc]# apachectl restart
[Wed Jan 13 11:14:47 2010] [warn] NameVirtualHost has no VirtualHosts

But I think there's nothing wrong as until now I have no website with SSL support.

MyDNS seem not working properly with zone transfer as I add a zone transfer to a secondary dns server ( but there's no dns zone replication on this server. Can you tell me where is the log file for mydns daemon because I can't find him in /var/log/ ...

Best regards,

Last edited by gjaouen; 19th January 2010 at 12:07.
Reply With Quote