note 33759 deleted from function.mysql-connect by didou

From: Date: Mon, 07 Jul 2003 08:42:30 +0000
Subject: note 33759 deleted from function.mysql-connect by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-51605@lists.php.net to get a copy of this message
Note Submitter: vynum@hotmail.com ---- CORRECTION: As of Apache 2.0.46 - The following directive will not work properly and will hault Apache from starting. In the example below that was given: The wrong way: <Files ~ "^\.ht"> Order allow,deny Deny from all Satisfy All </Files> CHANGED TO--The right way: <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> NOTE: removed " Satisfy All". "Okay... that little chunk of text is saying that you don't want files that begin with .ht to be readable through apache. We also don't want people to see any files that end with .inc. So, just add the following chunk of text to your httpd.conf file:" The wrong way: <Files ~ ".inc"> Order allow,deny Deny from all Satisfy All </Files> CHANGED TO the right way: <Files ~ "^\.ht!*.inc"> Order allow,deny Deny from all </Files> Note: Now you can if you want to is to put this into a .htaccess file on a per directory basis. The ! [SHIFT] + number 1 key, seperates for another inclusion. The *. means anyfile name before the " . " Now any file with the "extention ".inc" will not be read by public. vynum

« previous php.notes (#51605) next »