httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] password protect files
Date Thu, 07 Oct 2004 14:03:00 GMT
On Thu, 7 Oct 2004 14:40:57 +0100, Michael Simpson
<> wrote:
> Hello.
> I'm using Apache 2 and can password protect a directory with no problem.
> However, I need to password protect just 1 file within a directory, not the
> whole directory.
> I've searched the web and Apache's website but found nothing re: just files
> (only directories).

where you will find that the <Files> container takes a filename, not a
full path, but that it can be nested in a <directory> container to get
the effect that you want.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message