note 121948 deleted from configuration.changes by cmb

From: Date: Thu, 30 Nov 2017 10:58:18 +0000
Subject: note 121948 deleted from configuration.changes by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-209271@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- In the root directory, put a .htaccess file with: <FilesMatch "(\.(bak|config|dist|fla|inc|ini|log|psd|sh|sql|json|lock|swp|py|xml|phtml|g)|~)$"> Order allow,deny Deny from all Satisfy All </FilesMatch> <Files .htaccess> Order allow,deny Deny from all </Files> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [QSA,L] And in the subdirectories, put: Deny from all And, in the web folder, put: Options All -Indexes

« previous php.notes (#209271) next »