AWStats icon indicating copy to clipboard operation
AWStats copied to clipboard

Backslash in path no longer supported in 7.8 for Windows

Open vinixwu opened this issue 4 years ago • 1 comments

Well... I'm not sure if it's a bug. I was using 7.6 for IIS server on Windows Server 2012 R2, which support path using backslash, like below:

X:\folder\subfolder\filename.ext

However, after I upgraded to 7.8, there is an error said X:foldersubfolderfilename.ext does not exist. If I replaced all backslash to slash, the error is gone. This issue applied to all paths for GeoIP.

P.S. I got more problems than this one after upgrade, like #162 .

vinixwu avatar May 21 '20 02:05 vinixwu

I'm using Awstats 7.8 on Windows Server 2012 R2 with IIS and am using backslashes in paths without issue.

E.g. my logfile entry is LogFile="C:\inetpub\logs\LogFiles\W3SVC1\u_ex%YY-0%MM-0%DD-0.log"

For Perl Plugins however I do stick with forward-slashes, e.g. LoadPlugin="geoip2_country /awstats/cgi-bin/plugins/GeoLite2-Country.mmdb"

AnthonyBe avatar Jan 30 '21 08:01 AnthonyBe