Lighttpd and Vlogger

Discussion in 'HOWTO-Related Questions' started by Pixa, Feb 25, 2008.

  1. Pixa

    Pixa New Member

    Hello.

    I get an irritating problem after following the how-to:
    The scripts creating log files works a bit too god ;)

    logs are generated fine, but I get a lot of mistyped log files:

    /var/log/lighttpd
    domain.tld
    www.domain.tld
    blahh.domain.tld
    khvug.domain.tld
    something.domain.tld

    and so it continues...
    each time someone mistypes something.domain.tld or uses www.domain.tld
    all blahh.domain.tld gets it own logs when it should be in domain.tld

    How do I solve this problem?

    Best Regards Morten
     
  2. falko

    falko Super Moderator

    Do you have a CatchAll DNS record for your domain?
     
  3. Pixa

    Pixa New Member

    Yes, *.domain.tld goes to domain.tld

    The problem I guess is that it takes the domain from the combined log and not from the configured virtual host?

    Does that mean that I can't use vlogger if I need to see the visitor’s entry point with webalizer?
     
  4. falko

    falko Super Moderator

    Yes, that's right. Maybe you can resolve the problem with the mod_rewrite module: http://trac.lighttpd.net/trac/wiki/Docs:ModRewrite
     

Share This Page