ispCP - Board - Support
Domain and its subdomain - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Domain and its subdomain (/thread-1407.html)



Domain and its subdomain - Cube - 09-26-2007 11:17 PM

I would like to add a user example.org and a user sub.example.org in ispcp. This works without problems, but example.org it matched first by Apache, so always the example.org website is shown. The apache2 -S command also shows example.org before sub.example.org. This is probably because the example.org entry is written first into the apache configuration.
Any suggestions how to solve this?


RE: Domain and its subdomain - joximu - 09-26-2007 11:38 PM

Seems not be possible with normal ispcp - you have to do some manual change in the apache-config...
Because: normally ispcp makes *.example.org entries in apache conf you have to remove this (or only let the example.org and http://www.example.org in the file).
Make a copy of the corected file in /etc/ispcp/apache/working otherwise ispcp will ttake it's original with the next change...

/Joximu


RE: Domain and its subdomain - Cube - 09-27-2007 12:02 AM

I thought ispcp will also overwrite the configs in /etc/ispcp/apache/working, but if this is not the case, this is the solution to my problem.
Thank you!