Author |
|
ajw055570
Joined: 28 Mar 2008 Posts: 4 Location: Maryland
|
Posted: Sat 29 Mar '08 1:09 Post subject: Apache Proxy Windows XP |
|
|
I'm having trouble setting up Apache as forward proxy in windows XP. Is there a special way of configuring up Apache so that it will do this? along with this i am having trouble getting the proxy computers to go through the proxy (if i dont have it set up right this would make sense ). But is there some special way of configuring it?
The server is running Windows XP w/ sp2
the nodes are running Mandriva linux 2008.0
The setup runs through a netgear 5 port eithernet hub that is connected to the network. But i can only have one computer on the network. If this is more a hardware issue any advice on that would help |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 29 Mar '08 10:58 Post subject: |
|
|
a very simple proxy setup on port 8080
Allow only from 192.168.178.* IPs
Code: |
Listen 8080
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
<VirtualHost *:8080>
DocumentRoot "/server2/www_proxy"
Options -All
ProxyRequests On
ProxyVia On
<Proxy *>
Order Deny,Allow
Deny from All
Allow from 127.0.0.1 192.168.178
</Proxy>
</VirtualHost>
|
|
|
Back to top |
|
ajw055570
Joined: 28 Mar 2008 Posts: 4 Location: Maryland
|
Posted: Tue 01 Apr '08 6:29 Post subject: |
|
|
Ok two questions, where would i put that code in?
And how would i set up Apache to proxy with a windows XP host and Windows XP nodes? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 01 Apr '08 11:13 Post subject: |
|
|
Put that code in the httpd.conf
On the client / note side you have to set a proxy in the browser settings. |
|
Back to top |
|
ajw055570
Joined: 28 Mar 2008 Posts: 4 Location: Maryland
|
Posted: Tue 01 Apr '08 15:15 Post subject: |
|
|
umm.... I'm definately a noob at this, but where do i go to get to the httpd.conf? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 01 Apr '08 15:22 Post subject: |
|
|
example
C:\Apache\2\conf\
or
C:\Program Files\Apache Foundation\Apache2\conf\ |
|
Back to top |
|
ajw055570
Joined: 28 Mar 2008 Posts: 4 Location: Maryland
|
Posted: Tue 01 Apr '08 18:38 Post subject: |
|
|
ok i found the httpd file and i have it opened in wordpad. Now where in all this text shoud i put the code?
edit: also there are quite a few docs labeled httpd which one is it? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 01 Apr '08 22:20 Post subject: |
|
|
put it at the very end of httpd.conf file in apache\conf folder.
Also add before
Code: |
LoadModule vhost_alias_module modules/mod_vhost_alias.so
|
|
|
Back to top |
|
apples377
Joined: 27 Apr 2008 Posts: 1
|
Posted: Sun 27 Apr '08 6:41 Post subject: |
|
|
but how do you make a cashed proxy. this wedsite (http://www.acm.org/crossroads/xrds7-5/proxy.html) give instructions but i cant get it to work with the brandy and I donot have a cpp compiler.
P.S how do you make it so you can only use it with local network computers
thanks Sam |
|
Back to top |
|