[squid-users] Reverse Proxy with .htaccess - does it work?

From: Odhiambo WASHINGTON <wash@dont-contact.us>
Date: Mon, 23 Apr 2007 16:04:43 +0300

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@wananchi.com>
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

Received on Mon Apr 23 2007 - 07:05:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT