httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dietmar.Muel...@eurotours.at
Subject [users@httpd] Antwort: [users@httpd] Proxy problem from apache2 to Tomcat4.1
Date Thu, 16 Sep 2004 09:52:53 GMT

Add

LoadModule proxy_http_module modules/mod_proxy_http.so

regards Dietmar





Pamela Stangl <pcstangl@doit.wisc.edu> am 15.09.2004 17:02:16

Bitte antworten an users@httpd.apache.org

An:    users@httpd.apache.org
Kopie:
Thema: [users@httpd] Proxy problem from apache2 to Tomcat4.1


I've been using Apache 1.3 and Tomcat 4.0.6.   I had a proxy statement in
Apache to the Tomcat http port that has worked just fine.
The Apache1.3 https port is 8185.
The Tomcat 4.0.6 http port is 7162.

In the Apache http.conf file I have defined:
LoadModule proxy_module       libexec/libproxy.so
AddModule mod_proxy.c

and

<IfModule mod_proxy.c>
ProxyRequests Off
     ProxyPass /mdsPort/mds  http://server.com:7162/mdsPort/mds
</IfModule>

 I get the same correct response if I go to
http://server.com:7162/mdsPort/mds  (directly to Tomcat)
or
https://server.com:8185/mdsPort/mds  (through Apache)

The problem occurs when I move to Apache2 and Tomcat4.1. I am using the
same ports.
 The Apache2.0.50 https port is 8185.
The Tomcat 4.1.30 http port is 7162.

In the Apache2 http.conf file I have defined:
LoadModule proxy_module modules/mod_proxy.so

and

<IfModule mod_proxy.c>
ProxyRequests Off
     ProxyPass /mdsPort/mds  http://server.com:7162/mdsPort/mds
</IfModule>

Going directly to tomcat,  http://server.com:7162/mdsPort/mds gives the
correct response

Going through Apache,  https://server.com:8185/mdsPort/mds  gives the error
"

You are not authorized to view this page"

I've check file permissions on the directories but that doesn't seem to be
the problem since I don't get an error when going through Tomcat to the
same page.

Any help would be much appreciated.








---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message