[NTLUG:Discuss] https -> http proxy/gateway

Stuart Johnston saj at thecommune.net
Wed Aug 25 13:57:20 CDT 2004


Jack Snodgrass wrote:
> I'm not sure what it's called eactly... but say I have
>  
> 1) mod_ssl and mod_proxy enabled apache web server. 
> 2) firefox/mozilla client. 
> 
> I want to use the proxy server normally to access a remote
> site like http://www.yahoo.com... but I want to connect to 
> it via the ssl enabled port ( 443 ) instead of the 'proxy' 
> port.  i.e. I want my connection to the web server to be 
> secured via ssl/https and I want it to then go out normal
> to the remote site, retrieve the content and then send it 
> back to me over the ssl/https port. 
> 
> Is that possible... and if so... what would that be 
> called exactly? 

I believe this would be called a reverse proxy: 
http://www.apacheweek.com/features/reverseproxies

Something like this might work with mod_rewrite:

RewriteEngine on
RewriteRule ^/(.*)$    http://$1 [P,L]

Then you would access the site like:

https://mysslproxy.com/www.yahoo.com/


Stuart Johnston
--
http://saj.thecommune.net



More information about the Discuss mailing list