If Your Site Has Suddenly Stopped Validating This Might Help.

Discussion in 'Co-op Advertising Network' started by MKInfo, Apr 25, 2007.

  1. #1
    I know nothing about php,server setup etc but my site stopped validating after working fine for months.After a long time trying everything I could think of this was the solution for me.I am not saying this will work for you but you never know.I noticed when manually trying to validate my site it only took about half a second to return "ads not found" whereas before,when it was validating ok it used to take 3 or 4 seconds and validate ok.I found out that my server (I'm on a carpathiahost VPS) was refusing access to the co-op validation bit (hence the shorter validation time).
    If this sounds like you you need to look for something like the following in your error logs (this was the error thrown up when trying to manually validate site).


    [client 216.x.xx.xx] mod_security: Access denied with code 403. Pattern match "^$" at HEADER("USER-AGENT") [id "1002"] [severity "EMERGENCY"] [hostname "yoursite . com"] [uri "/"] [unique_id "3mOdSH8AAAEAAEXjVH4AAAAH"]
    [Tue Apr 24 17:57:17 2007] [error] [client 216.x.xx.xx] mod_security: Access denied with code 403. Pattern match "^$" at HEADER("USER-AGENT") [id "1002"] [severity "EMERGENCY"] [hostname "yoursite . com"] [uri "/"] [unique_id "3osR2H8AAAEAAEZnbOkAAAAk"]
    [Tue Apr 24 17:57:20 2007] [error] [client 216.x.xx.xx] mod_security: Access denied with code 403. Pattern match "^$" at HEADER("USER-AGENT") [id "1002"] [severity "EMERGENCY"] [hostname "yoursite .com"] [uri "/"] [unique_id "3rCHkX8AAAEAAD9STY4AAABV"]

    My host had changed something and it was refusing the co-op access.
    Their solution was to disable the secfilter in mod_security.
    Everything works fine now.
    As I said all of the above is technically way above my head but perseverence paid off.
    I just hope this may be of help to someone like myself who was pulling my hair out.
    MK
     
    MKInfo, Apr 25, 2007 IP