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=7676>. 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=7676 Allow name property to use match experssions in <host> tag, or <alias> tag Summary: Allow name property to use match experssions in <host> tag, or <alias> tag Product: Tomcat 4 Version: 4.0.3 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] It would be very usefull to allow the host block to be selectable by a name proerty using regular experssions. That way an entire class of host names can be mapped to a virtual server. For instance in my example below, this Host section is selected if we have all of these: m1.mydomain.com site1.m1.mydomain.com site2.m1.mydomain.com m2.mydomain.com site1.m2.mydomain.com site2.m2.mydomain.com See below for config. =================================== <Host name="*.m1.mydomain.com" debug="2" appBase="d:/http/my_content" unpackWARs="true"> <alias>m1.mydomain.com</alias> <alias>*.m2.mydomain.com</alias> <aliasm2.mydomain.com</alias> <!-- Context --> <Context path="" docBase="d:/http/my_contentden" reloadable="true" crossContext="true" debug="2"/> </Host> ======================== We host as many as 500 virtual sites on a server and need this so we can map all sites to the same content area, and add them without changing the server.properties file. The application looks at the host request header value to make the final determination on how to treat the content. Gene Engelgau -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>