[Osiris-devel]updated specs
Brian Wotring
brian at shmoo.com
Sun Mar 18 19:00:46 EST 2001
> the idea is right but i don't like the keyword Order, it's apache-ish but
> it's misleading because you're not really ordering anything you're chosing
> one or the other. what about an options line:
>
> <Directory /etc>
> Options ScanAll SHA Recurse
> Exclude defaults, hosts.*
> </Directory>
>
> or the reverse:
>
> <Directory /etc>
> Options ScanExplicit MD5
> Include passwd, shadow, group, hosts.*
> </Directory>
I see your point. I realized I was wrong about being able to specify only
a few files in a directory, it should be possible with the file(x)
directive.
How about the following:
attributes - perm,mtime,atime,ctime,inode,links,uid,gid,bytes,blocks
options - scanall,scanexplicit,recursive,shallow,follow_links
hashes - md5,sha,haval,ripemd
actions - ignore,noentry
You can scan all files by doing:
<Directory /usr>
options scanall,recursive
</Directory>
You can scan all but some by doing:
<Directory /usr>
options scanall,recursive
ignore file(ls)
</Directory>
You can scan only one or some by doing:
<Directory /usr>
options scanexplicit
file(ls) mtime,uid
</Directory>
Am I missing any functionality here or does anybody have problems with the
syntax?
> are files and directories treated equally?
I think so, the one difference I can think of at the moment is that you
should be able to specify "noentry" on a directory.
--
Brian Wotring ( brian at shmoo.com )
PGP KeyID: 0x9674763D
More information about the osiris-devel
mailing list