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.
internal server error.png (Size: 115.71 KB / Downloads: 9)
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.
internal server error.png (Size: 115.71 KB / Downloads: 9)