tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart Lenoir <m...@lingtren.com>
Subject Tomcat web.xml <url-pattern> & Apache httpd.conf <VirtualHost xxx.com> DocumentRoot
Date Wed, 17 Sep 2003 17:57:42 GMT
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mime
View raw message