I've been wallbashing my head on this problem for a couple of days and I'm totally out of ideas.
We are moving our site to a new host.
Our site works BOTH in local AND on the old host.
No changes made to the code, but the new host bans our IP after a few refreshes.
No errors seem to be given by PHP/Apache.
Eventually, we could get these few lines of log from our new host:
[Mon Jun 17 07:46:45 2013] [error] [client 79.1.74.166] ModSecurity: Access denied with code 404 (phase 1). Match of "streq %{SESSION.IP_HASH}" against "TX:ip_hash" required. [file "/usr/local/apache/conf/modsec_rules/70_asl_csrf_experimental.conf"] [line "56"] [id "340206"] [msg "Warning - Sticky SessionID Data Changed - IP Address Mismatch."] [hostname "194.28.116.82"] [uri "/~aquaelit/serie.php"] [unique_id "Ub6ixcIcdFIAAGgWchQAAAAO"]
[Mon Jun 17 07:46:45 2013] [error] [client 79.1.74.166] ModSecurity: Access denied with code 404 (phase 1). Match of "streq %{SESSION.IP_HASH}" against "TX:ip_hash" required. [file "/usr/local/apache/conf/modsec_rules/70_asl_csrf_experimental.conf"] [line "56"] [id "340206"] [msg "Warning - Sticky SessionID Data Changed - IP Address Mismatch."] [hostname "194.28.116.82"] [uri "/~aquaelit/cms/prodotti/index.php"] [unique_id
"Ub6ixcIcdFIAAFgPg3MAAAAD"]
[Mon Jun 17 07:46:48 2013] [error] [client 79.1.74.166] ModSecurity: Access denied with code 404 (phase 1). Match of "streq %{SESSION.IP_HASH}" against "TX:ip_hash" required. [file "/usr/local/apache/conf/modsec_rules/70_asl_csrf_experimental.conf"] [line "56"] [id "340206"] [msg "Warning - Sticky SessionID Data Changed - IP Address Mismatch."] [hostname "194.28.116.82"] [uri "/~aquaelit/cms/prodotti/sys_cpanel/images/bottombody.jpg"] [unique_id "Ub6iyMIcdFIAAHqUzh4AAAAA"]
[Mon Jun 17 07:46:48 2013] [error] [client 79.1.74.166] ModSecurity: Access denied with code 404 (phase 1). Match of "streq %{SESSION.IP_HASH}" against "TX:ip_hash" required. [file "/usr/local/apache/conf/modsec_rules/70_asl_csrf_experimental.conf"] [line "56"] [id "340206"] [msg "Warning - Sticky SessionID Data Changed - IP Address Mismatch."] [hostname "194.28.116.82"] [uri "/~aquaelit/sys_cpanel/images/bottombody.jpg"] [unique_id "Ub6iyMIcdFIAABEoS14AAAAH"]
[Mon Jun 17 07:46:50 2013] [error] [client 79.1.74.166] ModSecurity: Access denied with code 404 (phase 1). Match of "streq %{SESSION.IP_HASH}" against "TX:ip_hash" required. [file "/usr/local/apache/conf/modsec_rules/70_asl_csrf_experimental.conf"] [line "56"] [id "340206"] [msg "Warning - Sticky SessionID Data Changed - IP Address Mismatch."] [hostname "194.28.116.82"] [uri "/favicon.ico"] [unique_id "Ub6iysIcdFIAABEnSQoAAAAG"]
As far as I've understood, it looks like our IP changes during a session. Well this simply cannot be, so I'm asking if any of you has an idea about what's going on.
My web search so far have been pointless and we feel lucky when we receive a mail from support once a day, se before we change host again, I'm asking here.
Thanks in advance.