httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] Help with Apache <Location> directive
Date Mon, 01 Oct 2007 21:22:43 GMT

I am attempting to forward requests sent to Apache httpd server to a
cluster of appservers sitting behind Apache. I am using the <Location>
directive to achieve this functionality.
But am not sure how to force Apache to handle this particular situation:
<Location "/xfer">
send to either server1 or server2

<Location "/xfer/1">
send to server 1

<Location "/xfer/2">
send to server 2

What is happening is that  Apache takes the first part of the URL path(ie.
"/xfer") and forwards the request.  It ignores the "/1" and "/2"  in the
path as soon as it matches /xfer.
How can i force it to match the whole pattern specified in the Location
directive? (e.g - send to server 1, - send to server 2)



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message