httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Sommers" <ry...@gamersimpact.com>
Subject [users@httpd] Blocking dot-star ("hidden") files/directories
Date Wed, 05 Jan 2005 21:25:16 GMT
I've been attempting to come up with some set of
<Directory><DirectoryMatch><Files><FilesMatch> directives that will
block
Anything of the form:

.*
.*/*
*/.*/*

Basically, block all hidden (.*) filename and block all files within .*
directories.

Thus far, the exact solution has eluded me.

<FilesMatch "^\.[^.]">

works for the files aspect. But I can't come up with anything for the
directory side.


-- 
Ryan Sommers
ryans@gamersimpact.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message