You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Dhwani K. Bhayani" <dh...@conceptinfoway.net> on 2001/07/13 08:17:08 UTC

please help(isapi_redirector and virtual host)

hi!
I have installed Tomcat 3.2.1 on Windows 2000 and configured everything 
as
instructed in IIS-howto pages and also did what ever required after 
reading the archives at this site.I can access by local http://127.
0.0.1:8080/examples/jsp/index.html and all jsp and servlets.But
I want to configure for www.concept.com i.e for virtual host,so I 
installed isapi-filter and it also shows green up pointing arrow.
I checked
the registries also.I am getting 404 error but noting got solved 
after reading each and every problem posted on this site.Please anyone 
can help me
out.I have also added in server.xml the following lines:
<Host name="www.concept.com" >
           <Context path="/" 
                    docBase="/office/inetpub/wwwroot/cway" debug="0" 
                 reloadable="true" />
           
        </Host>
and in uriworkermap.properties:
/*.jsp=ajp12
The uriworkermap-auto.properties file shows also
###################################################################
# Auto generated configuration. Dated: Thu Jul 12 15:48:58 GMT+05:
30 2001
###################################################################

#
# Default worker to be used through our mappings
#
default.worker=ajp12

#
# Root context mounts for Tomcat
#
/servlet/*=$(default.worker)
/*.jsp=$(default.worker)

But when I execuet jsp it shows code in browser and servlet it gives 
404 error.I have stored jsp in C:/office/inetpub/wwwroot/cway what 
I need to do.I cannot execute through localhost also as instructed 
in docs but can access through 127.0.0.1:8080
Please help me
Dhwani







Re: please help(isapi_redirector and virtual host)

Posted by Adam Fowler <af...@aber.ac.uk>.
Hi,

I have no idea why u can't get it (try resting cursor over hyperlink in index 
page and see if its pointing to wrong URL - may be your webserver is 
asserting a different domain)..ok, so I lied.

A HTTP 200 response though indicates success!!! Which is quite strange.

Hope that helps,
Adam.

---- 
Adam Fowler 
Help Desk Live Project 
Information Services 
University of Wales, Aberystwyth 
Web guy+author on the TomcatBook Project 
http://tomcatbook.sourceforge.net 
e-mail: adamfowler@chillin.co.uk 
---- 

On Friday 13 July 2001 16:42, you wrote:
> Same to me.  I hosts three sites with IIS on Windows 2000 and configured
> the filter for one site (or for all at  machine level).  I can browse the
> http://localhost//examples/jsp/index.html once after IIS restarts and
> iis_redirect.log show read ok status, but unable to execute the examples.
> Then following up requests shown 404 error without any  message in
> iis_redirect.log.
>
> Sometimes after tomcat restarts , the
> http://localhost//examples/jsp/index.html  does not show and iis_w3srvc
> reports GET /jakarta/isapi_redirect.dll error 200 in log even I rechecked
> the execute permission for both the virtual directory /jakarta/ and the
> physical file.
>
> Any help will be appreciate by me too,
> Baohua
>
> ----- Original Message -----
> From: "Dhwani K. Bhayani" <dh...@conceptinfoway.net>
> To: <to...@jakarta.apache.org>
> Sent: Friday, July 13, 2001 2:17 AM
> Subject: please help(isapi_redirector and virtual host)
>
> > hi!
> > I have installed Tomcat 3.2.1 on Windows 2000 and configured everything
> > as
> > instructed in IIS-howto pages and also did what ever required after
> > reading the archives at this site.I can access by local http://127.
> > 0.0.1:8080/examples/jsp/index.html and all jsp and servlets.But
> > I want to configure for www.concept.com i.e for virtual host,so I
> > installed isapi-filter and it also shows green up pointing arrow.
> > I checked
> > the registries also.I am getting 404 error but noting got solved
> > after reading each and every problem posted on this site.Please anyone
> > can help me
> > out.I have also added in server.xml the following lines:
> > <Host name="www.concept.com" >
> >            <Context path="/"
> >                     docBase="/office/inetpub/wwwroot/cway" debug="0"
> >                  reloadable="true" />
> >
> >         </Host>
> > and in uriworkermap.properties:
> > /*.jsp=ajp12
> > The uriworkermap-auto.properties file shows also
> > ###################################################################
> > # Auto generated configuration. Dated: Thu Jul 12 15:48:58 GMT+05:
> > 30 2001
> > ###################################################################
> >
> > #
> > # Default worker to be used through our mappings
> > #
> > default.worker=ajp12
> >
> > #
> > # Root context mounts for Tomcat
> > #
> > /servlet/*=$(default.worker)
> > /*.jsp=$(default.worker)
> >
> > But when I execuet jsp it shows code in browser and servlet it gives
> > 404 error.I have stored jsp in C:/office/inetpub/wwwroot/cway what
> > I need to do.I cannot execute through localhost also as instructed
> > in docs but can access through 127.0.0.1:8080
> > Please help me
> > Dhwani

Re: please help(isapi_redirector and virtual host)

Posted by Baohua Wang <bw...@tc.cornell.edu>.
Same to me.  I hosts three sites with IIS on Windows 2000 and configured the
filter for one site (or for all at  machine level).  I can browse the
http://localhost//examples/jsp/index.html once after IIS restarts and
iis_redirect.log show read ok status, but unable to execute the examples.
Then following up requests shown 404 error without any  message in
iis_redirect.log.

Sometimes after tomcat restarts , the
http://localhost//examples/jsp/index.html  does not show and iis_w3srvc
reports GET /jakarta/isapi_redirect.dll error 200 in log even I rechecked
the execute permission for both the virtual directory /jakarta/ and the
physical file.

Any help will be appreciate by me too,
Baohua

----- Original Message -----
From: "Dhwani K. Bhayani" <dh...@conceptinfoway.net>
To: <to...@jakarta.apache.org>
Sent: Friday, July 13, 2001 2:17 AM
Subject: please help(isapi_redirector and virtual host)


> hi!
> I have installed Tomcat 3.2.1 on Windows 2000 and configured everything
> as
> instructed in IIS-howto pages and also did what ever required after
> reading the archives at this site.I can access by local http://127.
> 0.0.1:8080/examples/jsp/index.html and all jsp and servlets.But
> I want to configure for www.concept.com i.e for virtual host,so I
> installed isapi-filter and it also shows green up pointing arrow.
> I checked
> the registries also.I am getting 404 error but noting got solved
> after reading each and every problem posted on this site.Please anyone
> can help me
> out.I have also added in server.xml the following lines:
> <Host name="www.concept.com" >
>            <Context path="/"
>                     docBase="/office/inetpub/wwwroot/cway" debug="0"
>                  reloadable="true" />
>
>         </Host>
> and in uriworkermap.properties:
> /*.jsp=ajp12
> The uriworkermap-auto.properties file shows also
> ###################################################################
> # Auto generated configuration. Dated: Thu Jul 12 15:48:58 GMT+05:
> 30 2001
> ###################################################################
>
> #
> # Default worker to be used through our mappings
> #
> default.worker=ajp12
>
> #
> # Root context mounts for Tomcat
> #
> /servlet/*=$(default.worker)
> /*.jsp=$(default.worker)
>
> But when I execuet jsp it shows code in browser and servlet it gives
> 404 error.I have stored jsp in C:/office/inetpub/wwwroot/cway what
> I need to do.I cannot execute through localhost also as instructed
> in docs but can access through 127.0.0.1:8080
> Please help me
> Dhwani
>
>
>
>
>
>
>
>