Double-Space in Log-File

Developers
2007-08-19
2012-10-11
  • Hy;

    We got a hack-try lately that cretes a double-space between method/url:

    85.42.37.227 - - [09/Jul/2007:01:02:11 -0500] "GET /administrator/phpMyAdmin-2.6.2/main.php HTTP/1.0" 301 - "-" "-"
    85.42.37.227 - - [09/Jul/2007:01:02:11 -0500] "GET /administrator/phpMyAdmin-2.6.2-pl1/main.php HTTP/1.0" 301 - "-" "-"
    85.42.37.227 - - [09/Jul/2007:01:02:11 -0500] "GET /administrator/phpMyAdmin-2.6.3/main.php HTTP/1.0" 301 - "-" "-"
    85.42.37.227 - - [09/Jul/2007:01:02:12 -0500] "GET /administrator/phpMyAdmin-2.6.3-rc1/main.php HTTP/1.0" 301 - "-" "-"
    85.42.37.227 - - [09/Jul/2007:01:02:12 -0500] "GET /administrator/phpMyAdmin-2.6.3/main.php HTTP/1.0" 301 - "-" "-"

    After that Awstats says the Log-Format is invalid. How may I hack a quick fix for this without touching the logfile (which is obviously live)?

    Thanks
    Niels