Hi.
I'm running Tomcat 4.1.12 standalone on Windows XP.
I would like to set up all subdomains to point to my domain, i.e. I would
like to be able to redirect *.mydomain.com to mydomain.com.
I've tried using <alias>*.mydomain.com</alias> in the host section of my
server.xml file, but I can't get it to work.
When I try something like this: something.mydomain.com, I'm just redirected
to the default host which isn't what I want.
I know that in Apache, I should add something like this to my configuration:

<VirtualHost *>
ServerName mydomain.com
ServerAlias *.mydomain.com
</VirtualHost>

But how do I accomplish the same thing in tomcat?
Can someone help me?
Regards,
Christian.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to