Portal Home > Knowledgebase > Articles Database > how to stop hackers from using .htaccess ?
how to stop hackers from using .htaccess ?
Posted by koky_cola, 03-05-2010, 02:54 PM |
Hello ,
I found all the hackers using .htaccess and it to it they write :
Options Indexes FollowSymLinks
DirectoryIndex ssssss.htm
AddType txt .php
AddHandler txt .php
i wanna know how i can stop this .htaccess from working .
Regards.
|
Posted by MammothVPS, 03-05-2010, 05:05 PM |
You just want to set "AllowOverride None" on the site's virtual host configuration in Apache, this will prevent .htaccess from being read.
http://httpd.apache.org/docs/2.0/mod...#allowoverride
|
Posted by inspiron, 03-05-2010, 06:22 PM |
The most important thing you need to do prevent them from disabling mod_security.
|
Posted by mixmox, 03-06-2010, 12:36 AM |
how can we do it ?
|
Posted by ASVJSC, 03-06-2010, 01:21 AM |
add to your httpd.conf
Hope this help
|
Add to Favourites Print this Article
Also Read