mharc-users

Re: creating separate .htaccess files for different lists?

2003-11-05 10:47:55
Richard Morse (remorse(_at_)partners(_dot_)org) wrote:
Hi!  One thing I just discovered (see my previous message) is that the 
directories for the lists are apparently completely deleted and 
recreated when a "make rebuild" (and, I guess a regular add) is done.  
I have a number of mailing lists that I'm archives, from two separate 
groups.  I _need_ to be able to apply different passwords to the lists 
from the various groups.  I had assumed that I could just stick a 
.htaccess file into each directory, but if the directory is going to be 
deleted, the .htaccess file will be deleted as well.  Is there any 
obvious solution to this that I'm missing?  Is there something that I 
can pass to mharc that tells it not to delete and re-create the 
directories?

I think I'd store the canonical .htaccess files in a separate place, and
then either hack bin/web-archive or the makefile to copy them to the html
directories after a rebuild.

Something like:

passwords/list1.htpass copied to html/list1/.htpass
passwords/list2.htpass copied to html/list2/.htpass
etc.

should be straightforward to implement in a utility that you can have
run after web-archive in the rebuild target.

Personally, I find that now that my archives are set up, I don't make
rebuild anymore, but your experience may differ wildly.

sev

-- 
 *** sev(_at_)byz(_dot_)org can also be found at http://www.byz.org/~sev ***
 "`"'"`"Eek!  It's a .sig virus!  It's spreading! -Alpha" -Olaf' 
        -Alpha" -J. Harley' -Meadow" -Alpha` -Andy"

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS