views:

52

answers:

0

Hello, I'd like to filter access to certain files in apache. I want only CGI access. So I tried putting in vhost file:

        <FilesMatch "\.cgi$">
        Order allow,deny
        Allow from all
        </FilesMatch>
            <FilesMatch "."> # All other files
        Order allow,deny
        Deny from all
            </FilesMatch>

But the latter overrides it all.

Thanks