Re: [EMAIL PROTECTED] Mod rewrite F flag

2007-04-27 Thread Joshua Slive
On 4/27/07, Erez Segal <[EMAIL PROTECTED]> wrote: 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

[EMAIL PROTECTED] Mod rewrite F flag

2007-04-26 Thread Erez Segal
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?