• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

running apache as a proxy server under windows

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

gusgizmo

Disabled
Joined
Aug 10, 2003
Location
Kona, Hawaii
has anyone ever done this? ive tried using google, but i cant seem to find anything relevant. im assuming that the httpd.conf configuration would be the same, but how do you add in the proxy module? or is it already included with the windows binary. more than anything id like to avoid compiling apache under windows, though i may think about it if i must.
 
I don't think you can use Apache as a proxy server.

You'd want something like Squid for that.
 
it is supposed to be one of the best caching proxy servers around, and can be used for both forward and reverse proxying. there are lots of install and config guides around for linux, but none for windows. all i really want to know is how to get the module setup.
 
Apache is a webserver, squid is a proxy server.
Squid has the forward and reverse proxying (so that you can use it normally, or put it infront of a webserver, so that it would serve out static pages, taking load off the webserver.)
Apache has no caching function.
 
Yes, I am aware of what I need, and where to obtain it. But i'm curious as to what it takes to get this module to run under windows. I know that under linux to enable the module you must compile apache with that module enabled, but how would it be done with the windows binary. Is the module included with the binary, or can it be added to the modules directory and enabled under httpd.conf? Or is the only way to recompile apache under windows, with that module enabled? I'm sorry that my post last night wasnt very clear. Let's just say I was really out of it.
 
ok, i got it running. it wasnt that hard, i just followed the stup instructions, then i went into squid.conf, and scrolled down to the access control list and added these two lines:

acl knights 192.168.0.0/24
http_access knights allow

knights being the aclname, and 192.168.0.0 being the subnet, with /24 being the subnet mask. you can also use use /255.255.255.0. hope this helps somebody.
 
Back