Eric Covener wrote:
On Sat, Nov 29, 2008 at 3:19 AM, Knute Johnson <knute2008@xxxxxxxxxxxxxxxxxxxx> wrote:I'm trying to limit access in a directory to just files that have a .dat extension. The httpd.conf file is stock with the addition of <Directory "/com/knutejohnson/rrr"> Options Indexes <FilesMatch "\.dat$"> Allow from all </FilesMatch> </Directory> I've tried about 8000 other combinations but this is the one I thought should really work. I get "Forbidden" when I try to load it in the browser. I can deny all the .dat files and that works, why doesn't allowing them?Sounds like Order http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order
Order isn't the problem but I've identified part of it. I can access the .dat files but I can't see them with the index. That's why I thought I couldn't get to them. Is there any way to index the FilesMatch(ed) files in a directory?
Thanks, -- Knute Johnson knute2008@xxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx