#1  
Old 25th February 2008, 02:28
Pixa Pixa is offline
Junior Member
 
Join Date: Feb 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Lighttpd and Vlogger

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
Reply With Quote
Sponsored Links
  #2  
Old 25th February 2008, 17:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Do you have a CatchAll DNS record for your domain?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th February 2008, 21:03
Pixa Pixa is offline
Junior Member
 
Join Date: Feb 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question

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?
Reply With Quote
  #4  
Old 26th February 2008, 19:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by Pixa
The problem I guess is that it takes the domain from the combined log and not from the configured virtual host?
Yes, that's right. Maybe you can resolve the problem with the mod_rewrite module: http://trac.lighttpd.net/trac/wiki/Docs:ModRewrite
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.