[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?

Re: [EMAIL PROTECTED] Is there a way to use external script with .htaccess for authentication?

2007-04-24 Thread Erez Segal
be used to write an interface to check against any other database or authentication service)." the question is how to do it... 2007/4/24, Joshua Slive <[EMAIL PROTECTED]>: On 4/24/07, Erez Segal <[EMAIL PROTECTED]> wrote: > > I specifically wants to use my PHP authent

[EMAIL PROTECTED] Is there a way to use external script with .htaccess for authentication?

2007-04-24 Thread Erez Segal
I specifically wants to use my PHP authentication system, with .htaccess to protect folders. I would imagine something like: "|is_authorized.php" returning Allow/Deny inside the .htaccess how can this be done?