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

User avatar
sonik_blast
Пристрастен GEEK
Posts: 2336
Joined: 11 Nov 2005, 17:57
Skype: sonik_blast_headoff
Location: София
Contact:

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

Unread post 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
Не е важното къде си, важното е да си там, но да не си сам.
Колкото по-умен ставам, толкова по-тъп изглеждам в очите на другите.
No Fea Sonik Is Hea, YouR End Is Nea!

Post Reply