Help - Search - Members - Calendar
Full Version: Problem With Apache 1.3 + Mod_proxy
Linuxhelp > Support > Technical Support
noseya
Hi,
I ve configured Apache 1.3 to work with Tomcat 4.1 and mod_proxy.

This is the config:

<IfModule mod_proxy.c>
ProxyRequests Off

ProxyPass / http://192.168.1.18:8081/
ProxyPassReverse / http://192.168.1.18:8081/

CacheRoot "/apache/proxy"
CacheSize 20
CacheGcInterval 0.5
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDirLength 5
CacheDirLevels 3
CacheDefaultExpire 1
</IfModule>

And, in the tomcats server.xml:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8081" proxyName="www.jordi.com" proxyPort="80"/>

When i try to access:
telnet myapache 80
GET /examples/jsp HTTP/1.1
Host: www.myhost.com

HTTP/1.1 302 Moved Temporarily
Date: Thu, 12 May 2005 03:54:26 GMT
Server: Apache Coyote/1.0
Location: http://www.jordi.com/examples/jsp/
Content-Type: text/plain
Content-Length: 0
Via: 1.1 www.jordi.com
X-Cache: MISS from www.jordi.com

Ive spent two days with this...and i dont know anyway to solve it. Any help would be much appreciate.

Many Thanks

Jordi
noseya
thx 4 the replies, i did it myself
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.