Hi guys!
Recently I bought and installed LiteSpeed (VPS edition) instead of Apache for my php website, and here is the issue I ran into recently.
When I try to upload an image with a php script, I get a 403 error.
In logs I have:
Does anybody know what I should do? What is the correct way to go with mod_security?
Thanks.
Recently I bought and installed LiteSpeed (VPS edition) instead of Apache for my php website, and here is the issue I ran into recently.
When I try to upload an image with a php script, I get a 403 error.
In logs I have:
Code:
ModSecurity: Access denied with code 403, [Rule: 'ARGS' '(fromCharCode|http-equiv|<.+>|innerHTML|dynsrc|-->)']
[Msg: XSS attack]2013-05-29 08:29:53.566 [NOTICE] [106.190.249.252:51262-0#mony.com-SSL] Content len: 67683, Request line: 'POST /admin.php?Page=ProductDetails&DepartmentId=30&CategoryId=29&SubCategoryId=&ProductId=305 HTTP/1.1'
2013-05-29 08:29:53.566 [INFO] [106.190.249.252:51262-0#mony.com-SSL] Cookie len: 287, __g_u=297776609756684_5_1_0_5_1361756638628; __utma=158250417.553219480.1348561748.1367633288.1368407073.57; __utmz=158250417.1357436912.28.2.utmcsr=yandex|utmccn=(organic)|utmcmd=organic|utmctr=%D1%84%D1%83%D0%BA%D0%BE%D0%B8%D0%B4%D0%B0%D0%BD; PHPSESSID=406ef92bd2f641a621ad80f4d1cdec5f
2013-05-29 08:29:53.566 [INFO] [106.190.249.252:51262-0#mony.com-SSL] abort request..., code: 4
Thanks.
Last edited: