tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22045] New: - Virtual host mappings in mod_jk2 (related to bug 18472)
Date Fri, 01 Aug 2003 10:41:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22045>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22045

Virtual host mappings in mod_jk2 (related to bug 18472)

           Summary: Virtual host mappings in mod_jk2 (related to bug 18472)
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Thomas.Goorden@lantis.be


In httpd.conf I have something like:
-------
NameVirtualHost *

<VirtualHost *>
	ServerName www.example.com
		ServerAlias www
		ServerAlias localhost
	DocumentRoot "/var/www/html"
	<Location "/examples/*">
		JkUriSet worker ajp13:localhost:8009
	</Location>
</VirtualHost>

<VirtualHost *>
	ServerName someapp.example.com
	DocumentRoot "/projects/someapp"
	<Location "/*.html">
		JkUriSet worker ajp13:localhost:8009
	</Location>
</VirtualHost>
--------

So I'm trying to get jk2 to forward all *.html for someapp.example.com to
Tomcat, but *not* in www.example.com.
If you look at the status worker however, I notice in the uri runtime info:

id | name | host | uri | group | context
0 | /examples/* | * | /examples/* | ajp13:localhost:8009 | /
0 | /*.html * | /*.html | ajp13:localhost:8009 | /

Obviously, I would expect the host to be set properly, not * as it happens now.

I build my mod_jk2 from the jakarta-tomcat-connectors-4.1.24-src (which was a
real pain), which should include the fix for bug 18472. (Apache 2.0.47)

Thomas

Mime
View raw message