Joe Leo wrote:
Hi All, Any linux/Apache guru's that can help me with problem below?
I need to be able to get a mod-proxy working.
Hi Joe,

Completely outside my experience, but some googling turned up this:

Comments #94 and #98 at http://ircarc.com/freenode-apache/368.html#94 seem to indicate that using ProxyPass inside a directional container (like <Directory> or <Location>) causes it to expect only one parameter, whereas you're giving it two. The first parameter is being automatically determined based on the value of <Location>.

In the httpd manual I found only one example (http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#envsettings) of using ProxyPass inside a <Location> container, and it indeed does use only one parameter.

So it seems what you'd want to do is something like this:
       <Directory /projects/dc >
               Options FollowSymLinks
               AllowOverride None

               ProxyPass http://h111.MyDomain
               ProxyPassReverse http://h111.MyDomain

       </Directory>

Also, whether you can even use ProxyPass inside of <Directory> is unknown to me, as the only examples I've seen are inside <Location> or nothing at all. Remember, what I'm telling you is strictly raw Internet research using Google. I have no idea what I'm actually talking about here.

- Allen

--
Allen Shaw
slidePresenter (http://slides.sourceforge.net)

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to