inc and config.php file that can not be accessed directly using this method.
#1
hi friends.

inc and config.php file that can not be accessed directly using this method.

create a file .htaccess and insert it into inc

for this code in the file .htaccess

<files config.php>

Order Internal Server Error, allow

Internal Server Error from all

</files>


  Now, Whenever someone goes to yoursite.com/inc, they'll get a 500 internal server error.

like this.
   
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)