Help: Problems using apache proxy module

Help: Problems using apache proxy module

Post by Filipe » Wed, 21 Apr 1999 04:00:00



Hi,

I've compiled apache 1.3.6 with the proxy module enabled and have set
it up with cache enabled and to use my ISP proxy to all http requests.
The problem is that it only works for some web address and to others
it doesn't and returns no route to host. But if setup my browser to
bypass my proxy and connect directly to my ISP's proxy it all works
fine. Can someone tell me what's wrong?

Here's the proxy part of my httpd.conf:

ProxyRequests On
ProxyRemote http http://proxy.of.my.isp:8080

<Directory proxy:*>
    Order deny,allow
    Deny from all
    Allow from 10.0.0.2 10.0.0.1
</Directory>

ProxyReceiveBufferSize 512
ProxyDomain .sys
NoProxy .sys
CacheRoot "/hd2/data/proxy"
CacheSize 10
CacheGcInterval 24
CacheMaxExpire 4800
CacheDefaultExpire 4800
CacheLastModifiedFactor 0.0001
CacheForceCompletion 100

# I have set up cache this way to speed up web pages browsing

 
 
 

1. WWW and PROXY auth when using Apache as authetifying reverse-proxy

Hello all.

I'm using Apache's latest version (1.3.14) and it seems I hit a wall someone
has met before me. Basically the problem is as follows: - I have a reverse
proxy that works just fine thanks to ProxyPass and ProxyPassReverse. Let's
call him "rproxy". He "hides" a http server, I'll call "server". - when I ask
for authentication on a resource located on "server" (using either Location
or Directory in the httpd.conf file of "rproxy"), "rproxy" sends a PROXY auth
to the client. I would expect a HTTP auth request... The user authentifies,
the "proxy" validates the credentials against the local database, and then
FORWARDS the auth request to the "server".

Problem is that I want the PROXY to authenticate the user, not the back-end
server. Is there a way to configure the "proxy" system so that the auth
request is not forwarded to the server?

I've tried <Directory>,  <Location (dirname)>, <Location (urlname)> with very
limited success...

Has someone managed to make this work?

Thanks in advance

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Mac won't print to Linux printer

3. Help: How to add module proxy to apache on Linux?

4. how to display login message

5. Apache 1.2.1 proxy modules problem

6. Hardware Problem and DOS, you say I'm in the wrong group..I beg your pardon...

7. Apache problems with proxy module

8. Slackware/96 and Token Ring

9. Using Apache Proxy--Help Please!

10. Apache 1.2.5 Problem using Proxy and URLs of the form http://host/dir

11. Apache with access control vs proxy (Not apache AS proxy)

12. Apache: Proxy Problem using ProxyPass or RewriteRule ... ... [P]

13. ASP Extensions to Apache using Apache::ASP Perl Module