note 43698 added to security

From: Date: Wed, 30 Jun 2004 18:06:57 +0000
Subject: note 43698 added to security
Groups: php.notes 
Request: Send a blank email to php-notes+get-72183@lists.php.net to get a copy of this message
I use a modified version of that Apache rule. <Files ~ "^.*\.inc(\..*|$)"> Order allow,deny Deny from all Satisfy All </Files> This works on file.inc as well as file.inc.php. It's useful because some open source projects use that style of include naming and preserving the php extention is useful - aside from file associations it's also used by some CVS setups to identify it as a text type file if you have to deal with platforms that have differing EOL schemes like MacOS and Windows. ---- Manual Page -- http://www.php.net/manual/en/security.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43698 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43698&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43698&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72183) next »