You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Fenlason, Josh" <jf...@ptc.com> on 2002/09/25 21:51:31 UTC

[users@httpd] Excluding files

I want to exclude a certain type of file from being served by Apache.  For example, how can I tell Apache to not server any .foo files?  Thanks in advance.
,
Josh.

---------------------------------------------------------------------
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] Excluding files

Posted by Jacob Coby <jc...@listingbook.com>.
<Files ~ "\.foo$">
    Order allow,deny
    Deny from all
</Files>

----- Original Message -----
From: "Fenlason, Josh" <jf...@ptc.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, September 25, 2002 3:51 PM
Subject: [users@httpd] Excluding files


I want to exclude a certain type of file from being served by Apache.  For
example, how can I tell Apache to not server any .foo files?  Thanks in
advance.
,
Josh.

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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