> Hi, > > I am having a problem getting IIS to redirect to Tomcat with Virtual > Servers. > What I would like to happen is when I type http://host1.mydomain.com or > http://host2.mydomain.com for IIS to redirect these requests to Tomcat > through > the redirector. I have downloaded & configured the isapi_redirect.dll > redirector > to work properly between IIS & Tomcat. I am able to get the examples to > come > up by typing http://localhost/examples & executing the JSPs & servlets. I > get the green arrow > in the IIS ISAPI filters tab. > > Ideally what I would like to do is also type in > http://host1.mydomain.com/examples > or http://host2.mydomain.com/examples and have IIS redirect the requests > to Tomcat to > serve up the *.jsp and servlet/* content. I have defined 2 virtual servers > in IIS called > host1.mydomain.com & host2.mydomain.com. I've set the IIS Home directory > to the > webapps directory of Tomcat for these virtual servers. I've also added an > ISAPI filter > called "jakarta" pointing to the isapi_redirect.dll file & the filter > status is green arrow > pointing up. Default documents set to "default.html" and "default.htm". > > In my uriworkermap.properties file, I have defined the following entries: > > /host1.mydomain.com/examples/*.jsp=$(default.worker) > /host1.mydomain.com/examples/servlet/*=$(default.worker) > /host1.mydomain.com/*.jsp=$(default.worker) > /host1.mydomain.com/servlet/*=$(default.worker) > /*.jsp=$(default.worker) > /servlet/*=$(default.worker) > > In my server.xml file, I've added the following sections : > > <Host name="host1.mydomain.com" debug="5" appBase="webapps" > unpackWARs="true" autoDeploy="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > directory="logs" prefix="host1.mydomain.com_log." > suffix=".txt" > timestamp="true"/> > <Context path="/examples" docBase="examples" debug="0" > reloadable="true" crossContext="true"> > ..... > </Context> > </Host> > > > I have the following setup: > Tomcat 4.1.10 > IIS 5.0 > Win2K server > > When I type in http://host1.mydomain.com/examples, I get an > HTTP 500 - Internal server error > Internet Explorer > > Any ideas or help would be appreciated. Thanks.
<<attachment: winmail.dat>>
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>