logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache Proxy Windows XP
Author
ajw055570



Joined: 28 Mar 2008
Posts: 4
Location: Maryland

PostPosted: Sat 29 Mar '08 1:09    Post subject: Apache Proxy Windows XP Reply with quote

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 Rolling Eyes ). 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 Very Happy
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sat 29 Mar '08 10:58    Post subject: Reply with quote

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

PostPosted: Tue 01 Apr '08 6:29    Post subject: Reply with quote

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

PostPosted: Tue 01 Apr '08 11:13    Post subject: Reply with quote

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

PostPosted: Tue 01 Apr '08 15:15    Post subject: Reply with quote

umm.... I'm definately a noob at this, Embarassed 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

PostPosted: Tue 01 Apr '08 15:22    Post subject: Reply with quote

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

PostPosted: Tue 01 Apr '08 18:38    Post subject: Reply with quote

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

PostPosted: Tue 01 Apr '08 22:20    Post subject: Reply with quote

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

PostPosted: Sun 27 Apr '08 6:41    Post subject: Reply with quote

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


Reply to topic   Topic: Apache Proxy Windows XP View previous topic :: View next topic
Post new topic   Forum Index -> Apache