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

Post Reply
User avatar
sonik
Site Admin
Posts: 37
Joined: 12 Nov 2018, 22:12

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

Post by sonik » 18 Aug 2019, 13:33

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

Post Reply