You are here

Local Proxy Server - Almost Working

3 posts / 0 new
Last post
RossGoodman
Offline
Last seen: 2 years 10 months ago
Joined: 2005-12-19 12:51
Local Proxy Server - Almost Working

Almost there......

I'm always annoyed at having to configure all of my web enabled apps to use different proxy servers when I go on a client site. More annoying when I forget to change them back when I get home.

The solution is to run my own proxy server.
I configure all of my apps to use a proxy server on "localhost:80"

When I change sites all I have to do is reconfigure my proxy server.

All Apps -> My ProxyServer -> RealProxy Server -> Internet

My problem is I could not find a local proxy server program, until I remembered Apache is bundled with XAMMPLite.

I have edited the file c:\xampplite\apache\conf\httpd.conf
I uncommented the following lines:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_html_module modules/mod_proxy_html.so

I then added the following section to the end of the file:

ProxyRequests	On
ProxyVia	On
<Proxy *>
  Order Deny,Allow
  Deny from all 
  Allow from 192.168.1
</Proxy>

Start Apache

Then from ross-laptop I set the proxy address to ross-pc:80 and it works !!!!!

This is obviously not the final config, this is doing:
All Apps -> My ProxyServer -> Internet
rather than
All Apps -> My ProxyServer -> RealProxy Server -> Internet

I believe all I have to do is add in:

ProxyRemote http://realproxyaddress:port

It's actually

ProxyRemote * http://realproxyaddress:port

This works, but I have to work out how the authentication works, the "real" proxy is looking to authenticate me. I also had to remember to change the IP range that was allowed.

NOTE:
I have just figured this out using good old google, I do not configure/control/admin apache normally, so i may be asking more questions than I am answering.

Ross

PollieXmas
Offline
Last seen: 12 years 12 months ago
Joined: 2006-05-10 16:03
Did you ever get his working?

Hi Ross,

Did you get this working in the end?

I would love a tool like this.

Regards
Paul

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 3 months ago
Developer
Joined: 2006-12-06 18:07
I'm guessing he did NOTE: I

I'm guessing he did

NOTE:
I have just figured this out using good old google...

Also, this post is over a year old, why revive it?

The developer formerly known as ZGitRDun8705

Log in or register to post comments