Apache/PHP systemwide include

flint338

Gawd
Joined
Oct 26, 2005
Messages
1,005
Okay.. I want to be able to include() a php file, systemwide for ALL filetypes. It will simply read the internal HTTP_AUTH variables from apache (when a username/password is sent), authenticate it via mysql and then return the file requested or request login information via header().

I figured I could do this with mod_rewrite, but I don't quite understand how.

And.. if anyone suggests mod_auth_sql or another one, my authentication table is so weird that I have not been able to get it to work :).
 
Back
Top