You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Arturo P <pe...@flashmail.com> on 2004/01/06 18:43:33 UTC

[users@httpd] Restict file extensions served by Apache

Is it possible to restrict Apache from serving some file extensions? 
Example: *.inc. Preferablly on a domain name basis.

Thank you.



---------------------------------------------------------------------
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] Restict file extensions served by Apache

Posted by André Malo <nd...@perlig.de>.
* Arturo P <pe...@flashmail.com> wrote:

> Is it possible to restrict Apache from serving some file extensions? 
> Example: *.inc. Preferablly on a domain name basis.

Sure. Just have a look at the <Files> container.

nd

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