LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > LiteSpeed Awstats Addon (SiteDomain)

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2007, 07:41 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default LiteSpeed Awstats Addon (SiteDomain)

When creating a new virtual host template and entering the information required for the awstats addon it refuses to let me save the template "*value must be set" because the SiteDomain field is blank.

The help indicates that if the SiteDomain field is blank the virtual host name will be used. Is this a bug, or I'm a missing something???

I was able to solve the problem by simply editing the template XML file and removing the value I put in SiteDomain to avoid the interface bug.

I'm using the latest build 3.2.


Thanks

Last edited by zoom; 07-27-2007 at 07:46 AM..
Reply With Quote
  #2  
Old 07-27-2007, 09:43 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Seems the server is still reporting a WARN due to the SiteDomain field having a blank value. The stats work, however the server shouldn't produce the warning..

SiteDomain configuration is invalid, use default [mydomain.com].
Reply With Quote
  #3  
Old 07-27-2007, 10:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
How about use "$VH_NAME" for "SiteDomain" configuration?
Reply With Quote
  #4  
Old 07-28-2007, 08:23 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Thanks mistwang for the reply.

I did end up using the $VH_NAME, but I couldn't find an easy way to include the aliases listed in the template for the SiteAliases value of awstats. Do you have a global variable that I can reference for aliases when creating a virtual template?
Reply With Quote
  #5  
Old 07-29-2007, 12:08 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can use "$VH_ALIASES" for this purpse.
Reply With Quote
  #6  
Old 07-30-2007, 07:29 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
mistwang,
I noticed a small bug in the awstats addon. It's putting $VH_NAME as the SiteDomain in the awstats config. It should be replacing this value with the actual domain. No Problem with $VH_ALIASES it replaces the aliases for the virtual host in the awstats config.

SiteDomain="$VH_NAME"


Thanks.
Reply With Quote
  #7  
Old 07-30-2007, 12:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I gave the wrong variable name, it should be

$vh_domain
Reply With Quote
Reply

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 -7. The time now is 07:19 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.