httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Nyhuis" <>
Subject [users@httpd] mod_proxy
Date Thu, 12 Dec 2002 20:34:50 GMT
	I've been wrestling with mod_proxy on Apache 2 for several days,
and I'm doing something wrong.  I think the problem is in my httpd.conf.
I would appreciate any advice folks would be willing to give me.

The Goal:
	I need a webserver (inside of a draconian firewall) that will
resolve the requests it recieves by contacting an existing squid proxy
server which serves the LAN (same) side of the firewall.  I don't want the
webserver to be caching things, just resolve all requests through the
squid proxy.  For troubleshooting purposes, I've changed everything to IP
to rule out DNS issues.  The webserver's IP is

In my httpd.conf: (which does pass the config test)

LoadModule proxy_module modules/

ProxyRequests On

#Added by John N. Forward all requests to main squid proxy server on port 8080
ProxyRemote *

#Added by John N. host webserver outside of the firewall "" locally
ProxyPass /test
ProxyPassReverse /test

<Proxy *>
    Order allow,deny
    Allow from all

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via:
# Set to one of: Off | On | Full | Block
ProxyVia On

# To enable the cache as well, edit and uncomment the following lines:
# (no cacheing without CacheRoot)
#CacheRoot "C:/Program Files/Apache Group/Apache2/proxy"
#CacheSize 5
#CacheGcInterval 4
#CacheMaxExpire 24
#CacheLastModifiedFactor 0.1
#CacheDefaultExpire 1

#Added by John N. Don't cache, just retrieve
NoCache *


The behavior I am witnessing:

If I configure a browser (also on the webserver) to use the squid proxy
directly, displays just fine.  Conclusion:
The squid proxy can proxy just fine.

If I configure the browser to not use any proxy and point it at:, which should be the local proxied version
of "lorien", I get a get a "URL /test/xql.htm not found" message.

Pointing the browser at localhost gets the Apache test page, so I know the
webserver is working.

What am I missing?
Any recommended tests to shed light on the problem?

John Nyhuis
Cell Systems Initiative
University of Washington

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message