httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Fw: How can apache act as both proxy server and client?
Date Fri, 03 Dec 2004 14:44:54 GMT
On Fri, 3 Dec 2004 14:17:32 +0800, 朱彥如 <yjchui@cht.com.tw> wrote:
>  
> Hi: 
>     I have set up a Apache server (version 1.3.33-2) in 
> Intranet to act as a proxy server, with following commands in httpd.conf: 
>   
>  ****************************************************** 
>     LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so 
>   
>     ProxyPass /hinet http://www.hinet.net/ 
>     ProxyPassReverse /hinet http://www.hinet.net/ 
> ******************************************************  
>   
> However, when this apache proxy server acceesses http://www.hinet.net/
> (which is in the 
> Internet), it must pass through another proxy server (between Intranet and
> Internet) with authententication. 
>   
> That is, my Apache server acts as both proxy server and proxy client. (I
> have special purpose for this setting) 
>   
> How can I specify the second proxy server in my Apache proxy server ? In
> addition to specificy the proxy server, I must also give the
> username/password to the second proxy server for authentication. 

See the ProxyRemove directive:
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxyremote

But I don't believe this will handle authenticated access to proxies. 
I know of no way to do that.

Joshua.

---------------------------------------------------------------------
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