![]() |
Anyone help stopping POST to php scripts in apache
Got a nasty virus that updates files via post to php scripts... want to stop it at apache... anyone know how?
Please! |
try by installing mod_security...
If you have it installed just apply this rule at your htaccess Code:
<IfModule mod_security.c> I have used mod_security but never used this rules so I don't know if it works. I found those rules on this page (modified it a bit to suite your needs) http://www.askapache.com/htaccess/mo...ss-tricks.html |
Thanks.... looks like that might be useful.
|
You can probably use the <Limit></Limit> in your vhost or .htaccess or whatever, something like:
<Limit POST> Require valid-user </Limit> or <Limit POST> Deny from all </Limit> Didn't try it, but pretty sure that's what the <Limit> item is for :) |
Quote:
|
All times are GMT -7. The time now is 02:50 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123