I had a similar problem, I use Apache, but the concepts are the same. Create another virtual host specifically for your Tomcat deployments and map them to Tomcat. It will definitely simplify your day and configuration. Otherwise I believe you would have to do some rewrite rules and that just gets ugly.
Chris Berthold IT Systems Analyst Commercial Refrigerator Door Company 941 . 371 . 8110 x 205 -----Original Message----- From: Josh Jacob [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 9:00 AM To: [email protected] Subject: Tomcat/IIS - how to map all web apps and not conflict with IIS content... Hello, I have Tomcat and IIS successfully communicating with the AJP 1.3/isapi_redirect setup, however, I do have a question about the URL mappings. I'd like to provide someone the ability to upload/FTP WARs and have them automatically deploy and served with IIS without having to edit the "uriworkermap.properties" file and restart IIS. I know I can wildcard the whole Tomcat install like this: /=ajp13 /*=ajp13 but this conflicts with existing IIS content. My first thought was to try and get an IIS directory called something like "/webapps" and map that to the root of the Tomcat install so IIS URLs like this: http://www.site.com/webapps/jsp-examples/ get mapped to Tomcat URLs like this: http://www.site.com:8080/jsp-examples/ but I think there would be issues with the web apps knowing their context and linking. Maybe if I could get Tomcat to prefix all contexts with "/webapps" this would work. Anyone know if this is possible? My second thought was to come up with some naming convention for web apps. For example, if all web apps start with a "j" then I could maybe map the URLs like this: /j*/*=ajp13 and the user would just need to not name directories in IIS with a "j" as the first character. Anyone out there doing something similar to this? Or any suggestions on something else to look into? Thanks in advance for any pointers. Here's the environment I'm running: + Windows Server 2003 + Tomcat 5.5.17 + isapi_redirect.dll 1.2.14 - josh jacob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
