You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Morehouse <jm...@netconcepts.com> on 2005/08/28 04:40:50 UTC

[users@httpd] allow only

Hello,

What's the best way to disable access to all but selected files.  For
example, we have a php server.  We'd like to serve php and html (css,
js) files, but not much else -- .php~, .txt, or .pl or .sh or .readme...
or whatever else.  What is the best way optin what to allow rather than
using a lengthly deny list?

Thanks,
-Jason


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