Josh,
         here is what the apache 1.3 manual says about Directory and
Location directives :

Location Directive :
" For all origin (non-proxy) requests, the URL to be matched is of the form
/path/, and you should not include any http://servername prefix. For proxy
requests, the URL to be matched is of the form scheme://servername/path, and
you must include the prefix. "  ---- What does this mean ?? I did not
include the prefix but it still was working...

This is from "  How Directory, Location and Files sections work "

" But a notable exception is :
proxy control is done via <Directory>. This is a legacy mistake because the
proxy existed prior to <Location>. A future version of the config language
should probably switch this to <Location>. "



----- Original Message ----- 
From: "K Anand" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Saturday, June 18, 2005 9:29 AM
Subject: Re: [EMAIL PROTECTED] Basic Authentication over reverse proxy


> Hi Josh,
>                 Think you missed one of my messages...I had managed to get
> it working..yes, you have to give the proxied hostname ie instead of
giving
> <Directory proxy:/xxx/>, it should have been <Directory
> proxy:http://a.b.c.d/xxx/>...I also tried it with Location directive..that
> was also working...
>
> Thanx
>
> Anand
>
----- 
> From: "Joshua Slive" <[EMAIL PROTECTED]>
> To: <users@httpd.apache.org>
> Sent: Friday, June 17, 2005 6:22 PM
> Subject: Re: [EMAIL PROTECTED] Basic Authentication over reverse proxy
>
>
> On 6/17/05, K Anand <[EMAIL PROTECTED]> wrote:
> > <Directory proxy:/xxx/>
>
> > ProxyPass             /xxx/               http://a.b.c.d/xxx
> > ProxyPassReverse /xxx/               http://a.b.c.d/xxx
>
> I believe (though I can't remember testing this much myself) that
> <Directory proxy:> requires a full url including http://hostname/.  An
> easier way to handle this is probably
>
> <Location /xxx/>
> ...
> </Location>
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to