eldy / AWStats

AWStats Log Analyzer project (official sources)
https://www.awstats.org
364 stars 121 forks source link

Backslash in path no longer supported in 7.8 for Windows #170

Open vinixwu opened 4 years ago

vinixwu commented 4 years ago

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 .

AnthonyBe commented 3 years ago

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"