本文介绍了在awstats中的奇怪配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 当我们在网站上激活统计信息时,websitepanel会为awstats创建错误的conf文件。我们的模板是 LogFormat ="%time2%other%other%other%method%url%other%other%logname%host%other%ua%other%referer%other%code%其他%其他%bytesd%其他%其他" LogSeparator =" " DNSLookup = 2 DirCgi =" / cgi-bin" DirIcons =" / icon" AllowFullYearView = 3 AllowToUpdateStatsFromBrowser = 0 UseFramesWhenCGI = 1 ShowFlagLinks =" en fr de it nl es" LogFile =" [LOGS_FOLDER] \u_ex%YY-3%MM-3%DD-3.log" DirData ="%SYSTEMDRIVE%\inetpub\AWStats\data" SiteDomain =" [DOMAIN_NAME]" HostAliases = [DOMAIN_ALIASES] 并且websitepanel创建以下conf文件: LogFormat =" other" LogSeparator =" " DNSLookup = 2 DirCgi =" / cgi-bin" DirIcons =" / icon" AllowFullYearView = 3 AllowToUpdateStatsFromBrowser = 0 UseFramesWhenCGI = 1 ShowFlagLinks =" en fr de it nl es" LogFile =" C:\ HostingSpaces \ user\domainname.nl \logs \W3SVC6 \\\_exDD-3.log" DirData =" C:\inetpub\AWStats\data" SiteDomain =" domainname.nl" HostAliases = localhost 127.0.0.1 检查日志文件和logformat。看起来它不是在%%符号之间写一些东西。 解决方案 \HostingSpaces\xxx\xxx.com\logs\W3SVC179\u_exDD.log" DirData =" m:\AWStats\data" SiteDomain =" xxx.com" HostAliases = groxxx.com When we activate statistics on a website websitepanel creates the wrong conf file for awstats. Our template isLogFormat = "%time2 %other %other %other %method %url %other %other %logname %host %other %ua %other %referer %other %code %other %other %bytesd %other %other"LogSeparator = " "DNSLookup = 2DirCgi = "/cgi-bin"DirIcons = "/icon"AllowFullYearView=3AllowToUpdateStatsFromBrowser = 0UseFramesWhenCGI = 1ShowFlagLinks = "en fr de it nl es"LogFile = "[LOGS_FOLDER]\u_ex%YY-3%MM-3%DD-3.log"DirData = "%SYSTEMDRIVE%\inetpub\AWStats\data"SiteDomain = "[DOMAIN_NAME]"HostAliases = [DOMAIN_ALIASES]And websitepanel creates the following conf file:LogFormat = "other"LogSeparator = " "DNSLookup = 2DirCgi = "/cgi-bin"DirIcons = "/icon"AllowFullYearView=3AllowToUpdateStatsFromBrowser = 0UseFramesWhenCGI = 1ShowFlagLinks = "en fr de it nl es"LogFile = "C:\HostingSpaces\user\domainname.nl\logs\W3SVC6\u_exDD-3.log"DirData = "C:\inetpub\AWStats\data"SiteDomain = "domainname.nl"HostAliases = localhost 127.0.0.1Check the logfile and logformat. It looks like its not writing everthing between the %% signs. 解决方案 这篇关于在awstats中的奇怪配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-15 19:18