2013-05-08, 04:32 AM
(This post was last modified: 2013-05-08, 04:41 AM by ikhwanulfikri.)
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.
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.