[vox-tech] Apache question: preventing direct access to files

Jay Strauss me at heyjay.com
Thu Mar 10 16:32:42 PST 2005


> 
> #<FilesMatch "\.pdf$">
> #SetEnvIf Referer "http://152.79.198.7" local_referrer=1
> #Order Allow, Deny
> #Deny from all
> #Allow from env=local_referrer
> #</FilesMatch>
> 

Isn't there a way to use the above regex to do a redirect to a 404 file 
not found

Jay


More information about the vox-tech mailing list