*.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
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
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