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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]