Page 1 of 1

config.php: PHP Config file may contain database IDs and pas

Posted: 07 May 2020, 12:33
by sonik_blast
If you need to protect your config files go to httpd.conf and add to the bottom:

Code: Select all

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
restart httpd after