[users@httpd] Disabling virtual hosts in Apache

2012-01-31 Thread Antonio Fernández Pérez
Hi everybody, I would like to know how can I do to disable a virtual host and print an error page in virtual host not enabled. Having www.mydomain.com and www.mydomain2.com, when I execute a2dissite www.mydomain.com I get www.domain2.com (its contents) and if I execute a2dissite

Re: [users@httpd] Disabling virtual hosts in Apache

2012-01-31 Thread Yehuda Katz
2012/1/31 Antonio Fernández Pérez antoniofernan...@fabergames.com Hi everybody, I would like to know how can I do to disable a virtual host and print an error page in virtual host not enabled. Having www.mydomain.com and www.mydomain2.com, when I execute a2dissite www.mydomain.com I get