httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [users@httpd] Apache 2.2.6, problem with mod_proxy: "ProxyPass|ProxyPassMatch can not have a path when defined in a location."
Date Thu, 29 Nov 2007 16:15:28 GMT
On Thu, Nov 29, 2007 at 05:12:12PM +0100, Werner Schalk wrote:
> Hi,
> 
> I am running the latest version of XAMMP provided by Apachefriends.org. The 
> software includes Apache 2.2.6 and I am trying to configure a reverse 
> proxy. The modules are loaded but the following lines makes Apache unhappy 
> and complain about my configuration:
> 
> ProxyPass /a/ http://localhost:8080/
> ProxyPass /b/ http://localhost:8888/
> 
> Now when starting the Apache I do get the following error message for a 
> syntax check (which corresponds exactly to those lines):
> 
> /opt/lampp/bin/httpd -t -f /opt/lampp/etc/httpd.conf
> Syntax error on line 236 of /opt/lampp/etc/httpd.conf:
> ProxyPass|ProxyPassMatch can not have a path when defined in a location.
> 
> Does anyone know what my mistake here is? I have searched the manual and 
> googled for the problem but I didn't find any answer. Thanks!
> 

I would guess it's because your config actually looks something like:

  <Location /whatever>
   ....
   ProxyPass /a/ http://localhost:8080/
   ProxyPass /b/ http://localhost:8888/
   ...
  </Location>

maybe?
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
        "Great is the guilt of an unnecessary war"  ~ John Adams

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message