Once Apache is coperating with Tomcat, you dont need to specify a port (I'm
assuming that your Apache is running on port 80 - default -)

Do not mess with port 8007 as it is the port used for the communication
between Apache and Tomcat, just use

http://localhost/examples

Julio Serje
Calian Tech.



----- Original Message -----
From: Hussam Alsawadi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 12:41 AM
Subject: Setting Tomcat to Cooperate with the Apache Web Server


> I installed Tomcat 3.1 as a stand-alone container and
> tested it.
> Next, I tried to set Tomcat to cooperate with the
> Apache Web Server, but I could not. I follow the user
> manual, but it seems that I lose a small issue. Please
> can you help my to fix the problem?
>
> I made the following steps:
>
> 1- Copying the tomcat-apache.conf file to
> my-tomcat-apache.conf and making minor changes.
> The my-tomcat-apache.conf contains the following:
>
> 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 "C:\Program Files\Apache
> Group\tomcat\webapps\examples"
> <Directory "C:\Program Files\Apache
> Group\tomcat\webapps\examples">
>     Options Indexes FollowSymLinks
> </Directory>
> ApJServMount /examples/servlet /examples
> <Location /examples/WEB-INF/ >
>     AllowOverride None
>     deny from all
> </Location>
>
> Alias /test "C:\Program Files\Apache
> Group\tomcat\webapps\test"
> <Directory "C:\Program Files\Apache
> Group\tomcat\webapps\test">
>     Options Indexes FollowSymLinks
> </Directory>
> ApJServMount /test/servlet /test
> <Location /test/WEB-INF/ >
>     AllowOverride None
>     deny from all
> </Location>
>
> ApJServMount /servlet /ROOT
>
>
> 2- Adding the following line to the end of httpd.conf
> file.
> Include  "C:\Program Files\Apache
> Group\tomcat\conf\my-tomcat-apache.conf"
>
> 3- Copying ApacheModuleJServ.dll to modules.
>
> 4- Starting Apache. The following is the output of
> Apache:
> Apache/1.3.12 (Win32) tomcat/1.0 running.
>
> 5- Trying the following URLs:
> http://localhost:8080/
> http://localhost:8080/examples
> http://localhost:8080/examples/servlet
>
> http://localhost:8007/
> http://localhost:8007/examples
> http://localhost:8007/examples/servlet
>
>
> Thank you.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one Place.
> http://shopping.yahoo.com/

Reply via email to