httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knute Johnson <knute2...@www.knutejohnson.com>
Subject Re: [users@httpd] FilesMatch problem?
Date Sat, 29 Nov 2008 18:14:19 GMT
Eric Covener wrote:
> On Sat, Nov 29, 2008 at 3:19 AM, Knute Johnson
> <knute2008@www.knutejohnson.com> 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@www.knutejohnson.com


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


Mime
View raw message