You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ladislav Sedivy <la...@sedivy.com> on 2003/01/30 17:29:21 UTC

[users@httpd] .htaccess and files

Is it possible to use .htaccess file to protect individual files?

-L

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] .htaccess and files

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 30 Jan 2003, Ladislav Sedivy wrote:

> Is it possible to use .htaccess file to protect individual files?

Yes, but enclosing the access control directives in an appropriate <Files>
directive.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org