Search squid archive

Reverse Proxy with .htaccess - does it work?

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

 



I have a reverse proxy setup with Squid-2.6STABLE12. Both Squid and
Apache reside on the same box.

For a typical site on the backend, I have this directive in squid.conf:

<cut>
cache_peer 127.0.0.1 parent 80 0 originserver no-query no-digest name=www3
cache_peer_domain www3 domainname.tld
</cut>

There is a directory under DocumentRoot for domainname.tld which I would
like to restrict access to (.htaccess style), so that only authenticated 
users can go in.

However, a typical configuration for such a restriction, which works for
native Apache, fails to work for me in my reverse proxy setup.

I am sure I am missing something, but what is it?



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@xxxxxxxxxxxx>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

"I shot an arrow into the air, and it stuck."
		-- Graffito in Los Angeles

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux