, , , -, suPHP. - - PHPINIDir , suPHP_ConfigPath.
mod_rewrite DOCROOT/.htaccess:
RewriteEngine On
RewriteBase /
RewriteRule (^|/)[_.] - [F]
This prohibits any request for any file or directory name prefixed with .or _. I have DOCROOT/_privatewhere I keep this stuff for me:
suPHP_ConfigPath DOCROOT/_private
where you will need to replace DOCROOT with the local settings of your service. Find DOCUMENT_ROOT in the list phpinfo().
source
share