You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by de...@lu.pwcglobal.com on 2000/08/28 15:14:09 UTC

Apache doens't forward to Tomcat


I'm trying to use Tomcat (3.1) as Servlet/JSP engine for Apache 1.3.12 (WinNT)
and I have some problems when I call a servlet or jsp page from Apache.

Works fine: http://localhost:8080/examples/servlet/HelloWorld
Doesn't work: http://localhost/examples/servlet/HelloWorld

It's the same problem for jsp files: works on Tomcat but not on Apache.

The browser status bar shows "Connecting to site localhost..." and still wait...

Snoop doesn't work on port 80 (Apache)...

Thanks a lot for your help,

Denis Navarre.

Here is the setup included into Apache:
--------------------------------------------------------------------------
LoadModule jserv_module modules/ApacheModuleJServ.dll
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice

ApJServDefaultPort 8007

AddType test/jsp .jsp
AddHandler jserv-servlet .jsp
Alias /examples E:\jakarta-tomcat\webapps\examples

<Directory "E:\jakarta-tomcat\webapps\examples">
    Options Indexes FollowSymLinks
</Directory>

ApJServMount /examples/servlet /examples

<Location /examples/WEB-INF/ >
    AllowOverride None
    deny from all
</Location>

ApJServMount /servlet /ROOT
--------------------------------------------------------------------------
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material.  Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited.   If you received this in error, please
contact the sender and delete the material from any computer.