Re: Using ProxyPass exclude with directory containing .htaccess

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

 



Vincent Bray wrote:
On 10/12/2007, Paul <paul@xxxxxxxxxxxxxxxx> wrote:
Thanks again, I've removed the limit directive, but still can't get the
protection working.
(don't worry, the .htpasswd file isn't in the document root - I just
made a typo when removing the real directories for posting - well
spotted though!)

I am reading and re-reading the regdeveloper link trying to see what
I've missed.

Probably your use of Directory (my bad for suggesting it) conflict
with ProxyPass (because you're proxying, the directory becomes
irrelevant). Try Location instead, and with the local url path instead
of filesystem path.

No luck with Location - in fact it is worse - it insists on sending to the app instead of just serving it through httpd.

Using Directory and excluding it from the proxy with
   ProxyPass /common/ !
at least lets me see the file instead of a 404.

I just need to figure out what I'm doing wrong with the basic auth. I'll try it on a much simpler configuration, without any proxying and see what happens.


---------------------------------------------------------------------
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