Hi,
I got bad request (HTTP 400). I can't solve this problem. Only this request gets bad. In the server, the request should be processed and the process contains execution of unix command like javac, java. I have the same project in port 8081, but the request didn’t get as bad request. Only for the port 80 gets wrong.
Below is the response I got for the request.
Quote:
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.2.0 (Fedora) Server at www.xxxxxx.xxx Port 80
|
Below, I have displayed some useful file content for solution
etc/hosts
Quote:
127.0.0.1 ip-xx-xx-xxx-xxx.ip.secureserver.net ip-xx-xx-xxx-xxx localhost.secureserver.net localhost.localdomain localhost
|
mod_security
Quote:
# Example configuration file for the mod_security Apache module
LoadModule security2_module modules/mod_security2.so
LoadModule unique_id_module modules/mod_unique_id.so
<IfModule mod_security2.c>
# This is the ModSecurity Core Rules Set.
# Basic configuration goes in here
Include modsecurity.d/modsecurity_crs_10_config.conf
# Protocol violation and anomalies.
Include modsecurity.d/modsecurity_crs_20_protocol_violations.conf
Include modsecurity.d/modsecurity_crs_21_protocol_anomalies.conf
# HTTP policy rules
Include modsecurity.d/modsecurity_crs_30_http_policy.conf
# Here comes the Bad Stuff...
Include modsecurity.d/modsecurity_crs_35_bad_robots.conf
Include modsecurity.d/modsecurity_crs_40_generic_attacks.conf
Include modsecurity.d/modsecurity_crs_45_trojans.conf
Include modsecurity.d/modsecurity_crs_50_outbound.conf
# Search engines and other crawlers. Only useful if you want to track
# Google / Yahoo et. al.
# Include modsecurity.d/modsecurity_crs_55_marketing.conf
# Put your local rules in here.
Include modsecurity.d/modsecurity_localrules.conf
</IfModule>
|
Please, help me to solve this problem.
Thanks