View Single Post
  #10  
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
Default

Hello ),

I've setup ispconfig3 as you ask me for auto subdomain to www for my two test sites :
http://www.ludoscopie.com
http://ludoscopie.com

http://www.oui-non.com
http://oui-non.com

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 :
#NameVirtualHost 192.168.0.200:80
#NameVirtualHost 192.168.0.200:443

I add the ip to 000-ispconfig.vhost :
Listen 8080
NameVirtualHost 192.168.0.200: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 http://www.ludoscopie.com/toto.htm 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/ludoscopie.com/web
(...)
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/ludoscopie.com/web/error/ :
400.html to 503.html

Log output of ludoscopie.com show that apache2 doesn't search error pages at the good place /var/log/ispconfig/httpd/ludoscopie.com/error.log :
[Wed Jan 13 10:38:52 2010] [error] [client 62.212.112.131] File does not exist: /var/www/ludoscopie.com/web/toto.htm
[Wed Jan 13 10:38:52 2010] [error] [client 62.212.112.131] 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 192.168.0.200:443 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 (ns6.gandi.net 217.70.177.40) 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,
Guillaume.

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