- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 63 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Restrict access to config.php [ ]
Author
Message
boyz008
Private
Joined: Jul 06, 2008
Posts: 48
Posted:
Thu Aug 14, 2008 8:04 pm
Hello,
I want to set .htaccess to restrict access to config.php but it got conflit with server "Error Internal Server"
Code:
# Disable access to config.php
<Files ~ "\config.php$">
deny from all
</Files>
Thanks
spottedhog
Captain
Joined: Apr 30, 2004
Posts: 566
Posted:
Fri Aug 15, 2008 1:58 pm
I am not an .htaccess expert, but you could try this:
Code:
<Files config.php>
deny from all
</Files>
_________________SMF-Nuke admin
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
boyz008
Private
Joined: Jul 06, 2008
Posts: 48
Posted:
Sat Aug 16, 2008 8:16 am
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum