> -----Original Message-----
> From: Perrin Harkins [mailto:[EMAIL PROTECTED] 
> 
> On Mon, 2005-08-22 at 13:48 -0400, Garrett, Philip (MAN-Corporate)
> wrote:
> > What I'm actually attempting to accomplish is to require 
> > (cookie-based) site login on some pages and not on others. I would 
> > prefer the pages to all have the same extension, and they can't really 
> > be separated by directory. That pretty much precludes Apache handling 
> > the Authentication without a custom handler.
> 
> A simple way to do this is to put in a file named $pagename.protected
> next to each file you want to protect. Then you can either use that in
> something like mod_rewrite and set an environment variable to use in an
> access handler, or write a custom access handler that looks for the
> existence of this file.

Great idea!  Thanks,

Philip

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to