Re: [users@httpd] Basic Authentication over reverse proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <kanand@xxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Saturday, June 18, 2005 9:29 AM
Subject: Re: [users@httpd] 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" <jslive@xxxxxxxxx>
> To: <users@xxxxxxxxxxxxxxxx>
> Sent: Friday, June 17, 2005 6:22 PM
> Subject: Re: [users@httpd] Basic Authentication over reverse proxy
>
>
> On 6/17/05, K Anand <kanand@xxxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux