httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erez Segal" <segale...@gmail.com>
Subject [users@httpd] Mod rewrite F flag
Date Fri, 27 Apr 2007 05:14:01 GMT
In my server, I want to reject access to files that exist. (to some php
files that are allways included via other files, and never needs to be
accessed directly).
I use:
RewriteRule ^(.*)$ - [F]
The trouble is it sends 403 - forbidden.
I want it to send 404 - file not found.
how can this be done?

Thanks in advance.
  Erez.

Mime
View raw message