You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "mail@adventureforum.net" <ma...@adventureforum.net> on 2003/09/16 16:00:17 UTC
Tomcat web.xml & Apache httpd.conf DocumentRoot
Hi,
Currently i'm having virtual hosts (subdomains) on Apache-2:
abc.xxx.com
def.xxx.com
ghi.xxx.com
... with different DocumentRoots!
On Tomcat-5 i have a servlet 'file' with <url-pattern>/file</url-pattern>
On workers2.properties i have [uri:/docs/*]
This makes that i got the following:
abc.xxx.com/docs/file
def.xxx.com/docs/file
ghi.xxx.com/docs/file
... and all three of them are showing the expected results.
But i only want:
abc.xxx.com/docs/file
and not:
def.xxx.com/docs/file
ghi.xxx.com/docs/file
What to do to make a servlet for one subdomain only?
Thanks,
b.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://WWW.ADVENTUREFORUM.NET - Forum on World Travel and Adventure -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://WWW.ADVENTUREFORUM.NET/worldfacts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://WWW.ADVENTUREFORUM.NET/worldnews
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org