2000-03-09 -+- atif ghaffar -+- atif@developer.ch -+- first talkback :) 2000-03-10 -+- Salvador Jimenez -+- sjimenez@spin.com.mx -+- Great!!!
I was looking for a solution like this instead of punch
holes in my firewall.

Thanks. 2000-08-07 -+- Prashanth Nandavanam -+- pn@post.com -+- Great article. I was able to use the cofig information right away! Look forward to more... 2000-09-30 -+- Conrad Hagemans -+- conrad@hagemans.com -+- The article helped me a lot setting up a server behind my firewall.
But the CGI-SCRIPTS on that machine will not run. They run if I connect from an internal PC directly to that server but not with ProxyPass.
Who can help?
Here is a part of my httpd.conf:

NameVirtualHost www.hagemans.com

<VirtualHost www.hagemans.com>
ServerAdmin root@hagemans.com
DocumentRoot /schijf5/thuis/httpd/html
ServerName www.hagemans.com
ErrorLog logs/error_log
TransferLog logs/access_log
# ServerAlias hagemans.com *.hagemans.com
</VirtualHost>

<VirtualHost www.hagemans.com>
ServerName om.hagemans.com
ProxyPass / http://om.hagemans.com/
TransferLog logs/om_access_log
ErrorLog logs/om_error_log
DocumentRoot /home/httpd/html
ScriptAlias /cgi-bin /home/httpd/cgi-bin
</VirtualHost>

2000-09-30 -+- Atif Ghaffar -+- atif@developer.ch -+- Find the line like
ScriptAlias /cgi-bin .... in the external server's
conf file, remove the line and restart the httpd process

Also, your configuration is not correct
It should be
NameVirtualHost ipaddress

and then for each virtualhost
<VirtualHost ipaddressThatYouDefinedAbove>
ServerName www.something.something

the rest is ok. 2000-11-20 -+- Christian Bienmueller -+- christian_bienmueller@acs-gmbh.de -+- Hi

Does anyone have experiences with proxypass and both http and https? Thanks

Hallo

Hat schon jemand Erfahrung, wie man mittels ProxyPass auf einen webServer mit HTTP UND HTTPS zugreifen kann?

Danke für Antworten - Christian 2000-11-20 -+- Colin McCouig -+- colinmc@black-sun.cix.co.uk -+- Hi,
I am trying to set up namevirtualhost to proxy onto another namevirtual host on the same server. Everything seems to work apart from passing QUERY_STRING.
In outline, I have a number of servers clustered by a cisco Localdirector. All servers have a namevirtualsite fred.com and each server also has a unique site www1.fred.com, www2.fred.com etc. The servers are running coldfusion which in turn is talking to a backend database. all communication is via the local director, so this is why I need the unique sites to establish the one to one relationship between coldfusion and the database. If we don't do this localdirector will loadbalance the connection and the responce will go to a different server.
I believed that running fred.com as a shell site with just
proxypass / http://www1.fred.com/
proxypassreverse / http://www1.fred.com/
would push the URL to www1.fred.com in a transparent manner and indeed it does. However if the URL contains query info e.g. http://fred.com/index.cfm?ID=1234,method=full
Then the query is split off and placed in the environmental variable QUERY_STRING. It then appears that the proxy pass occurs but the QUERY_STRING does not get passed.
Does anybody have any ideas.
Thanks in anticipation
Colin. 2000-12-31 -+- Indibil -+- cuidadin@altavista.com -+- At work we access Internet through a Proxy Server in headquarters office.
We are interesting in making a PC with Linux acting as Proxy in our local office.
So that, this Linux proxy would connect to the actual proxy.

I have added this in http.conf:

ProxyRequests on
ProxyRemote * http://192.168.4.86:8080

I have setup the NetScape to access the linux proxy.
It ask me for user and password, but an error is returned.

Can you help me?
Thanks in advance

Indibil 2001-03-07 -+- Gary Argraves -+- gArgraves@earthlink.net -+- Hi,

Help:
I use proxyPass, but have a problem I can not solve. The setup is a WWW server will send request to Class C network behind WWW server. The proxy requests are delayed 80 seconds before they are passed. I monitor the apache access log and the WWW inbound request does not get appended for about 80 seconds.

here is a URL that exhibits the problem:
http://www.arraygenetics.com/siFind3.html

The system is SuSE 7.0 Linux. The proxy machine is Win-ME running apache.
Can the problem have something to do with keep alives between systems ?

Any help will be greatly appreciated.

Thanks,
Gary
2001-09-14 -+- Jim Bradbury -+- jim@bradbury.org -+- I have Apache running on my RedHat 7.1 box. I recently installed
a firewall box doing Network Address Translation (NAT) and now
I can't get Apache working again. This article will definitely
help me get things sorted out and working again.

Thanks,

-= Jim =- 2001-10-11 -+- Chris -+- -+- Just wanted to say thanks! I was actually searching for something else when I came across the page, but this was on my todo list. I knew there was an easy way to go about it, but using mod_proxy never occured to me. 2001-11-14 -+- obi-1-kenobi -+- -+- Wait a second,
Using this i should be able to run a webserver, dns behind a firewall router?? 2002-01-01 -+- Michael Mowbay -+- talkback@michaelmowbray.net -+- This all works really well for me except in the case where the "target" of the ProxyPass is a VirtualHost defined on the internal machine. I just can't get that going - it always goes to the default (first) VirtualHost definition. Anyone had any luck with that? 2002-03-17 -+- Tim -+- none@noemail.com -+- Excellent. Quick. Concise. I was looking for a way to proxy netsaint through to two other datacenter netsaint boxes already connected via encrypted tunnels on the backend --had to add the specific vhost on the backend. Works well and no need for ACL changes :)
Apache.orgs documentation is excellent, but sometimes they do not get to the point.

...that should help with Michaels problem as well.


Thanks,

Tim
FreeBSD, Linux Solaris, NT admin
*a top ten internet property via unique visitors (media metrix)
2002-04-05 -+- Ian -+- -+- Excellent! I used ssh -R to punch though a firewall to an external web server, and proxypass on that server to forward requests to the ssh port:

On the local (firewalled) machine:

ssh -R 8000:localhost:80 -N user@webserver

and on the webserver:

ProxyPass /test http://127.0.0.1:8000

So requests for /test on the webserver are forwarded over ssh to the machine inside the firewall.

Ian
2002-04-29 -+- Jitendra -+- jitendrac@kpit.com -+- Hi,
what sort of cofiguration will be needed for the following case:
A single instance of apache connected to different instances of weblogic running on different ports? Does weblogic plugin will help in this situation or need to use ProxyPass or ProxyRemote directives??
What can be the solution to this problem?

Thanks in advance,
Jitendra 2002-05-26 -+- serge -+- sergey@verisity.com -+- I can't see images from passed site.
Who can help?
Here is a part of my httpd.conf :

ProxyPass /internal http://external.com
ProxyPassReverse /internal http://external.com
CacheDefaultExpire 24
All <img=/images/foo.gif> and link look like http:/bar/internal/images/foo.gif.
But link broken. -+- 212.150.223.182 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417 2002-05-30 -+- Mpume Msimanga -+- mmsimanga@ufh.ac.za -+- Hi there

I am a new user of the Apache web server. My computer is behind a firewall and I just wanted to confirm whether I have performed the correct steps to make my server visible to the outside would.

1. Enabled mod_proxy
2. Enabled proxies i.e. I added the following code to my config file
<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Deny from all
Allow from all
</Proxy>
3.This is the configuration for my virtual host
NameVirtualHost 196.21.105.197
<VirtualHost 196.21.105.197>
ServerAdmin mmsimanga@ufh.ac.za
DocumentRoot C:/Nambya
ServerName www.nambya.za.net
ProxyPass / http://www.nambya.za.net
</VirtualHost>

PLEASE help me, I am going insane!!!
Mpume, South Africa






-+- 213.194.110.199 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) 2002-08-06 -+- Rene Visscher -+- r.g.w.visscher@rgvisscher.dhs.org -+- Dear Atif,

i've read your article and I tried to implement it to my machine. I'va the same construction you mentioned, a extern webserver with behind a firewall a webcam on http://192.168.0.11 (http://siemens.rgvisscher.dhs.org)

But I can not refer to the machine behind the firewall. Could it be that squid (8080) also the cause or how can I check that mod_proxy is active?
<VirtualHost 24.132.196.212>
ServerAdmin root@rgvisscher.dhs.org
DocumentRoot "/usr/local/apache/htdocs/familie"
ServerName familie.rgvisscher.dhs.org
ServerPath /familie/
RewriteEngine On
RewriteRule ^(/familie/.*) /usr/local/apache/htdocs/subdomain$1
ErrorLog /home/familie/html/error_log
CustomLog /usr/local/apache/logs/access_log common
</VirtualHost>

<VirtualHost 24.132.196.212>
ServerAdmin root@rgvisscher.dhs.org
ServerName webcam.rgvisscher.dhs.org
ProxyPass /siemens/ http://siemens.rgvisscher.dhs.org/
TransferLog /usr/local/apache/logs/proxpass.log
ErrorLog /usr/local/apache/logs/proxerror.log
</VirtualHost>
<VirtualHost 24.132.196.212>
ServerName webcam.rgvisscher.dhs.org
ProxyPass / http://siemens.rgvisscher.dhs.org/
TransferLog /usr/local/apache/logs/proxpass.log
ErrorLog /usr/local/apache/logs/proxerror.log
</VirtualHost>
-+- 145.92.33.3 = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 2002-10-17 -+- fer -+- ferdiab@ieee.org -+- the problem is that we have frontserver on solaris machine and apache. we setuped the proxypass on this server to two remote servers which are another solaris machine and a windows machine with IIS. we have the second two machines in secure zone while the first frontserver is in the semisecure zone. we have this configuration and it is working. suddenly we have electricity problem and the front server shutdown. we start it again but we surprised that it is working to pass requests to the solaris machine but not to the windows machine. we have page not found error when we try to acess the configuraion with the windows proxypass from out side the LAN but have no problem when accessing it from inside the LAN. what could be the configuration which will affect this....

please try to respond as fast possible and i am thankful for u........

-+- 212.98.130.105 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2002-10-20 -+- sam -+- painkil@hotmail.com -+- Hi, I am on a network but I don`t have access to the server and the server has a firewall. I want to make other users to conect to my computer but because of the firewall and the localhost I can`t do it. can you tall me how to do it? -+- 199.212.26.247 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp 5.0.0.0) 2002-10-21 -+- Marcel Petersen -+- M.Petersen@Karolinenhof.de -+- Hi, I've big problem with the mod_proxy-Module. My Apache-definitions seems to work as a free global proxy and on top of that it is posted in Google-groups. How can I restrict the connections to my remote servers ?

<VirtualHost *>
ServerName www.virgenius.de
ProxyRequests on
ProxyPass / http://192.168.0.206/xy/abc/
<Directory proxy*>
Order deny,allow
Deny from all
Allow from all
</Directory>
ErrorLog /var/log/httpd/virgenius-err_log
CustomLog /var/log/httpd/virgenius-log common
</VirtualHost>

Thanks in advance, Marcel


-+- 62.154.132.202 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; QXW0332c) 2002-12-01 -+- Rene Cunningham -+- rene@dcnut.com -+- Great tute. Was exactly what i was looking for!

--
Rene -+- 210.49.188.13 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 2003-02-04 -+- Antoine Megens -+- -+- Great howto, worked the first try right!
Apache rulez.
-+- 217.120.230.161 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461) 2003-02-18 -+- Martin -+- martin.zemljic@astec.si -+- Thank you for this clear howto.
I am using using ProxyPass to link environments in a laaarge enterprise network. Method to "publish" an intranet http server between parts of network that are not visible to each other is to combine ProxyPass directive and <Directory /> ACLs.

Martin
-+- 193.2.226.22 = Mozilla/4.0 (compatible; MSIE 5.01; Windows 98) 2003-03-20 -+- Farhad Saberi -+- f.saberi@ville.laval.qc.ca -+- Hi, does anyone know if I can pass variables in the ProxyPass URL ? This
is what I mean :

ProxyPass /csat http://www.ville.laval.qc.ca/pls/adml.a_wlaval.show?p_no=6

It seems that the http post (p_no=6), apache 1.3.17 does not like. No
syntax error is given and httpd can be restarted, but /csat is passed
to "/" instead of the specifed URL, and I think it's because of the variable
at the end. Does anybody know ? Thanks,
--Farhad from Canada. -+- 207.236.183.67 = Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 2003-06-11 -+- abs -+- uaefox18@yahoo.com -+- الى الاخ عاطف ممكن تعطيني اي مساعده لاجتياز البروكسي
واعتبرني مبتدا في هذا المجال
وشكرا -+- 195.229.241.235 = Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) 2003-08-17 -+- drcyc -+- -+- Thanks so much for all the suggestions given in this thread -- using them I was able to get my development web server (behind a firewall) proxied through another public server using a remote ssh tunnel. -+- 68.2.34.236 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 2003-10-02 -+- Glenn -+- -+- In the real world example, both ProxyPass lines are identical, and there is none for /image.

For Serge's issue (2002-05-26, <img src="/image/foo.gif"> broken), my understanding is that a separate ProxyPass statement is needed for /image.

Thanks for posting the tutorial! -+- 156.153.254.42 = Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/85.7 (KHTML, like Gecko) Safari/85.5 2004-01-24 -+- kokounonou -+- -+- Very helpful and interesting article. Will try to implement it at work.
Thanks -+- 82.64.104.131 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 #2004-05-17 -+- Alex -+- -+- How to control ProxyPass priority, i have one name for example foo.com
and i need to make something like this:

ProxyPass /mirror http://internal.foo.lan:8080/
ProxyPass / http://internal2.foo.lan/

ProxyPassReverse /mirror http://internal.foo.lan:8080/
ProxyPassReverse / http://internal2.foo.lan/

But then i do this, i get error: mirror not found, becouse everything goes thrue "/" (internal2.foo.lan and there is no /mirror)

Meybe somebody knows how to solve this problem ? -+- 194.176.32.201 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) 2004-05-17 -+- Alex -+- -+- How to control ProxyPass priority, i have one name for example foo.com
and i need to make something like this:

ProxyPass /mirror http://internal.foo.lan:8080/
ProxyPass / http://internal2.foo.lan/

ProxyPassReverse /mirror http://internal.foo.lan:8080/
ProxyPassReverse / http://internal2.foo.lan/

But then i do this, i get error: mirror not found, becouse everything goes thrue "/" (internal2.foo.lan and there is no /mirror)

Meybe somebody knows how to solve this problem ? -+- 194.176.32.201 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) #2004-08-18 -+- soso -+- hassaad@netcourrier.com -+- لدي سيرفر اباتشي على الحاسب الشخصي وأريد إعداده ليعمل كمزود لعدة مواقع افتراضية على حاسبي، ما هي الإعدادات من فضلك؟ -+- 66.198.39.25 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2004-10-12 -+- Nick -+- -+- Hmm, I thought this was a comments page, not a "help I'm lame and can't read documentation" page? -+- 62.188.206.21 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; FunWebProducts-MyWay) 2005-02-13 -+- abdou -+- abd_mo_anwar@yahoo.com -+- انا اقطرح على حضرتك انك تدعم الشرح بصور وخطوات كلى يسهل على المستخدم العادى الوصول الى الغرض المطلوب بيسر وشكرا على هذا الموضوع الجميل ورجاء اكون من اول من ترسل لهم النسخه المدعمه بالصور القوائم والشرح الوافر مع الشكرر
-+- 213.42.2.26 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)