We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

AwStats - Konfiguracja


zebol
29-06-2007, 09:54
Więc doałem do httpd.conf linie:
Include conf/awstats.conf

Plik awstats.conf wygląda tak:
Kod:
Alias /awstats/classes "/usr/share/webapps/awstats/6.5-r1/htdocs/classes/"
Alias /awstats/css "/usr/share/webapps/awstats/6.5-r1/htdocs/css/"
Alias /awstats/icons "/usr/share/webapps/awstats/6.5-r1/htdocs/icon/"
ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/"
ScriptAlias /awstats "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"
ScriptAlias /awstats.pl "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"


    Options None
    AllowOverride None
    
	Order allow,deny
	Allow from all
    



    Options ExecCGI
    AllowOverride None
    
	Order allow,deny
	Allow from all
    
CGI.LOG = [2007-06-29 09:52:42]: command not in docroot (/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl)
I nadal ten sam błąd: Error - File not found

Ktoś ma poprawne skonfigurowane owe staystyki na Gentoo ?

bob123
28-06-2007, 09:57
Prawdopodobnie katalog /usr/share/webapps/
nie jest ustawiony jako document_root w wirtualnych hoscie obslugujacym https://mojhost.net:10000

zebol
28-06-2007, 09:36
Jak poprawnie skonfigurować owe statystyki.
Obecne moje ustawienia modułu AWStat:

Absolute filesystem path to AWStats update statistics command : /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl
Absolute or relative URL path to AWStats CGI : /awstats/awstats.pl
Sample AWStats configuration file : /etc/awstats/awstats.model.conf

config file /etc/awstats/awstats.maxlinks.org.conf
A w nim:
Kod PHP:
LogFile="/usr/local/apache/logs/maxlinks-access_log"
LogType="W"
LogFormat="1"
LogSeparator=" "
SiteDomain="maxlinks.org"
HostAliases="www.maxlinks.org localhost 127.0.0.1 REGEX[maxlinks\.org$]"
DNSLookup="2"
DirData="/var/lib/awstats"
DirCgi="/cgi-bin"
DirIcons="/icons"
AllowToUpdateStatsFromBrowser="0"
AllowFullYearView="2"
EnableLockForUpdate="0"
DNSStaticCacheFile="dnscache.txt"
DNSLastUpdateCacheFile="dnscachelastupdate.txt"
SkipDNSLookupFor=""
AllowAccessFromWebToAuthenticatedUsersOnly="0"
AllowAccessFromWebToFollowingAuthenticatedUsers=""
AllowAccessFromWebToFollowingIPAddresses=""
CreateDirDataIfNotExists="0"
BuildHistoryFormat="text"
BuildReportFormat="html"
SaveDatabaseFilesWithPermissionsForEveryone="0"
PurgeLogFile="0"
ArchiveLogRecords="0"
KeepBackupOfHistoricFiles="0"
DefaultFile="index.html"
SkipHosts=""
SkipUserAgents=""
SkipFiles=""
OnlyHosts=""
OnlyUserAgents=""
OnlyFiles=""
NotPageList="css js class gif jpg jpeg png bmp ico swf"
ValidHTTPCodes="200 304"
ValidSMTPCodes="1 250"
AuthenticatedUsersNotCaseSensitive="0"
URLNotCaseSensitive="0"
URLWithAnchor="0"
URLQuerySeparators="?;"
URLWithQuery="0"
URLWithQueryWithOnlyFollowingParameters=""
URLWithQueryWithoutFollowingParameters=""
URLReferrerWithQuery="0"
WarningMessages="1"
ErrorMessages=""
DebugMessages="0"
NbOfLinesForCorruptedLog="50"
WrapperScript=""
DecodeUA="0"
MiscTrackerUrl="/js/awstats_misc_tracker.js"
LevelForBrowsersDetection=2        
LevelForOSDetection
=2            
LevelForRefererAnalyze
=2           
LevelForRobotsDetection
=2          
LevelForSearchEnginesDetection
=2   
LevelForKeywordsDetection
=2       
LevelForFileTypesDetection
=2      
LevelForWormsDetection
=0  
UseFramesWhenCGI
="1"
DetailedReportsOnNewWindows="1"
Expires="0"
MaxRowsInHTMLOutput="1000"
Lang="auto"
DirLang="./lang"
ShowMenu="1"
ShowSummary=UVPHB
ShowMonthStats
="UVPHB"
ShowDaysOfMonthStats="VPHB"
ShowDaysOfWeekStats="PHB"
ShowHoursStats="PHB"
ShowDomainsStats="PHB"
ShowHostsStats="PHBL"
ShowAuthenticatedUsers="0"
ShowRobotsStats="HBL"
ShowWormsStats="0"
ShowEMailSenders="0"
ShowEMailReceivers="0"
ShowSessionsStats="1"
ShowPagesStats="PBEX"
ShowFileTypesStats="HB"
ShowFileSizesStats="0"
ShowOSStats="1"
ShowBrowsersStats="1"
ShowScreenSizeStats="0"
ShowOriginStats="PH"
ShowKeyphrasesStats="1"
ShowKeywordsStats="1"
ShowMiscStats="a"
ShowHTTPErrorsStats="1"
ShowSMTPErrorsStats="0"
ShowClusterStats="0"
AddDataArrayMonthStats="1"
AddDataArrayShowDaysOfMonthStats=1
AddDataArrayShowDaysOfWeekStats
="1"
AddDataArrayShowHoursStats="1"
IncludeInternalLinksInOriginSection="0"
MaxNbOfDomain=""
MinHitDomain=""
MaxNbOfHostsShown=""
MinHitHost=""
MaxNbOfLoginShown=""
MinHitLogin=""
MaxNbOfRobotShown=""
MinHitRobot=""
MaxNbOfPageShown=""
MinHitFile=""
MaxNbOfOsShown=""
MinHitOs=""
MaxNbOfBrowsersShown=""
MinHitBrowser=""
MaxNbOfScreenSizesShown=""
MinHitScreenSize=""
MaxNbOfWindowSizesShown 5
MinHitWindowSize 
1
MaxNbOfRefererShown
=""
MinHitRefer=""
MaxNbOfKeyphrasesShown=""
MinHitKeyphrase=""
MaxNbOfKeywordsShown=""
MinHitKeyword=""
MaxNbOfEMailsShown=""
MinHitEMail=""
FirstDayOfWeek="1"
ShowFlagLinks=""
ShowLinksOnUrl="1"
UseHTTPSLinkForUrl=""
MaxLengthOfShownURL="64"
HTMLHeadSection=""
HTMLEndSection=""
Logo="awstats_logo6.png"
LogoLink="http://awstats.sourceforge.net"
BarWidth=""
BarHeight=""
ExtraTrackedRowsLimit=500
AddDataArraySHowDaysOfMonthStats
="1" 
I jeśli chce wywołać link : https://mojhost.net:10000/awstats/aw...r=/etc/awstats

wywala mi błąd:
Error - File not found

HELP