Re: regular expression?
On Thu, Feb 15, 2001 at 07:35:22PM -0600, William Jensen wrote:
>
> I should have been more specific. This is in regards to apache. I want
> to control user access by file not directory. I don't want to name
> every singe file though, so I'd like to say "everything except index.html"
> gets a password.
>
> Sorry for the confusion thought I did like the perl tip. :)
Why not try putting access restrictions on "/.*" and then one on
"/index.html"? I'm pretty sure apache will let you do this (ordering
of the directives probably counts, so try both ways).
Ben
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: