Remembering, of course, to check and make sure your include statements are of the form include("/path/file.inc") rather than include("http://mysite.com/path/file.inc") BEFORE adding the below directive (one mistake I won't ever make again =P )
Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com ----- Original Message ----- From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 1:59 PM Subject: RE: [PHP] File extension inc? > > Even better use mod_rewrite so that .inc files > > are never displayed :-) > > mod_rewrite is severe overkill for this. Just use: > > <Files ~ "\.inc$"> > Order allow,deny > Deny from all > </Files> > > -Rasmus > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]