*.mydomain.com

*.mydomain.com

am 11.11.2007 01:41:26 von Floor

I have a domainname on which I put an A record *.mydomain.com
Now I would like to reroute all subdomain URL's to the docroot of
mydomain.com.
Can you pls tell me how I can do so in my httpd.conf?

--
Floor

Re: *.mydomain.com

am 11.11.2007 02:41:12 von HansH

"Floor" schreef in bericht
news:47364fb4$0$243$e4fe514c@news.xs4all.nl...
>I have a domainname on which I put an A record *.mydomain.com
> Now I would like to reroute all subdomain URL's to the docroot of
> mydomain.com.
> Can you pls tell me how I can do so in my httpd.conf?
>
ServerAlias *.mydomain.com
should do fine.

Be aware one.mydomain.com will NOT share its cookies with
theother.mydomian.com.
If they do share an application you might want to tweak its creation of
cookies.

Hans

Re: *.mydomain.com

am 11.11.2007 14:39:09 von Floor

HansH:

> Be aware one.mydomain.com will NOT share its cookies with
> theother.mydomian.com.
> If they do share an application you might want to tweak its creation of
> cookies.

Oke, that is exact what I searched for (except the cookie one).
Thanks for your solution,
Floor