*.mydomain.com

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
Floor [ So, 11 November 2007 01:41 ] [ ID #1867874 ]

Re: *.mydomain.com

"Floor" <Floor [at] yahooh.co.not> schreef in bericht
news:47364fb4$0$243$e4fe514c [at] 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
HansH [ So, 11 November 2007 02:41 ] [ ID #1867875 ]

Re: *.mydomain.com

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
Floor [ So, 11 November 2007 14:39 ] [ ID #1867876 ]
Webserver » alt.apache.configuration » *.mydomain.com

Vorheriges Thema: [STAT] Statistics of alt.apache.configuration 11/12/07
Nächstes Thema: Apache Windows ExtFilterDefine / Output / SED