SetEnvIf Request_URI "\.(htm|html|gif|css|js|txt|jpg)$" object_is_ok=1
Order deny,allow
Deny from all
Allow from env=object_is_ok
