kermu 0 Zgłoś post Napisano Grudzień 4, 2016 (edytowany) Próbuję nakłonić webalizera do generowania statystyk tylko dla linków do artykułów w CMS Joomla, czyli /index.php/* np: "GET /index.php/internet HTTP/1.1" 200 5958"GET /index.php/telewizja HTTP/1.1" 200 4071"GET /index.php/telewizja-cennik HTTP/1.1" 200 5399 z użyciem dyrektywy IncludeURL /index.php/* w webalizer.conf Niestety dalej są statystyki dla wszystkich odwołań 1 20 12,12% 172 2,89% / 2 4 2,42% 0 0,00% /templates/infolan4/modules.js 3 3 1,82% 12 0,20% /media/jui/js/jquery-migrate.min.js 4 3 1,82% 0 0,00% /media/jui/js/jquery-noconflict.js 5 3 1,82% 99 1,66% /media/jui/js/jquery.min.js 6 3 1,82% 2 0,03% /media/system/css/system.css 7 3 1,82% 1 0,02% /media/system/js/caption.js 8 3 1,82% 7 0,12% /media/system/js/core.js Poniżej wklejam mój plik konfiguracyjny webalizer.conf #LogFile /var/log/httpd/access_logLogFile /var/log/httpd/www.myhost.net.pl-access_log#LogType clf#OutputDir /var/lib/httpd/htdocs/usageOutputDir /home/services/httpd/vhosts/webalizer.www.myhost.net.pl#HistoryName webalizer.hist#Incremental no#IncrementalName webalizer.current#ReportTitle Usage Statistics forHostName www.myhost.net.pl#HTMLExtension htmlPageType htm*PageType cgiPageType phtmlPageType php3PageType phpPageType plPageType shtml#PagePrefix /documents#PagePrefix /mycgi/parameters#OmitPage /render#UseHTTPS no#HTAccess no#StripCGI yes# TrimSquidURL 0DNSCache dns_cache.dbDNSChildren 10#CacheIPs no#CacheTTL 7GeoDB yesGeoDBDatabase /usr/share/GeoDB/GeoDB.datGeoIP yesGeoIPDatabase /usr/share/GeoIP/GeoIP.dat#HTMLPre <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">#HTMLHead <META NAME="author" CONTENT="The Webalizer">#HTMLHead <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">#HTMLBody <BODY BGCOLOR="#E8E8E8" TEXT="#000000" LINK="#0000FF" VLINK="#FF0000">#HTMLPost <BR CLEAR="all">#HTMLTail <IMG SRC="msfree.png" ALT="100% Micro$oft free!">#HTMLEnd </BODY></HTML>#LinkReferrer no#Quiet no#ReallyQuiet no#TimeMe no#GMTTime no#Debug no#FoldSeqErr no#VisitTimeout 1800#IgnoreHist no#IgnoreState no#CountryGraph yes#CountryFlags no#FlagDir flags#DailyGraph yes#DailyStats yes#HourlyGraph yes#HourlyStats yes#GraphLegend yes#GraphLines 2#IndexMonths 12#YearHeaders yes#YearTotals yes#GraphMonths 12#InOutkB auto#TopSites 30#TopKSites 10#TopURLs 30#TopKURLs 10#TopReferrers 30#TopAgents 15#TopCountries 30#TopEntry 10#TopExit 10#TopSearch 20#TopUsers 20#AllSites no#AllURLs no#AllReferrers no#AllAgents no#AllSearchStr no#AllUsers no#IndexAlias home.htm#IndexAlias homepage.htm#DefaultIndex yes#HideSite *webalizer.org#HideSite localhost#HideReferrer webalizer.org/HideReferrer Direct RequestHideReferrer file:*HideURL *.gifHideURL *.GIFHideURL *.jpgHideURL *.JPGHideURL *.jpegHideURL *.JPEGHideURL *.pngHideURL *.PNGHideURL *.ra#HideAgent RealPlayer#HideUser root#HideUser admin#GroupURL /cgi-bin/* CGI Scripts#GroupURL /images/* Images#GroupSite *.aol.com#GroupSite *.compuserve.comGroupReferrer onet.pl/ Onet (onet.pl)GroupReferrer wp.pl/ Wirtualna Polska (wp.pl)GroupReferrer interia.pl/ Interia (interia.pl)GroupReferrer .gazeta.pl/ Gazeta.pl (gazeta.pl)GroupReferrer emulti.pl/ Emulti (emulti.pl)GroupReferrer hoga.pl/ Hoga (hoga.pl)GroupReferrer netsprint. NetSprint (netsprint.pl)GroupReferrer yandex.pl/ Yandex (yandex.pl)GroupReferrer szukacz.pl/ Szukacz (szukacz.pl)GroupReferrer yahoo.com/ Yahoo!GroupReferrer altavista.com/ AltaVista (altavista.com)GroupReferrer google. Google (google.com)GroupReferrer dmoz.org/ Open Directory Project (dmoz.org)GroupReferrer excite.com/ ExciteGroupReferrer infoseek.com/ InfoSeekGroupReferrer webcrawler.com/ WebCrawler#GroupUser root Admin users#GroupUser admin Admin users#GroupUser wheel Admin usersGroupAgent Opera/ Opera#HideAgent Opera/GroupAgent w3m* w3m#HideAgent w3m*GroupAgent Mozilla Netscape/Mozilla#HideAgnet MozillaGroupAgent "MSIE 7" Microsoft Internet Exploder 7#HideAgent MSIE 7GroupAgent "MSIE 6" Microsoft Internet Exploder 6#HideAgent MSIE 6GroupAgent "MSIE " Older Microsoft Exploders#HideAgent MSIEGroupAgent Firefox/2. Firefox 2#HideAgent Firefox/2.GroupAgent Firefox/1. Firefox 1.x#HideAgent Firefox/1.GroupAgent Konqueror Konqueror#HideAgent KonquerorGroupAgent Safari Safari#HideAgent SafariGroupAgent Lynx* Lynx#HideAgent Lynx*GroupAgent Links* Links#HideAgent Links*GroupAgent Wget/ WGet#HideAgent Wget/GroupAgent (compatible; Other Mozilla Compatibles#HideAgent (compatible;GroupAgent Mozilla* Mozilla/Netscape#HideAgent Mozilla*#HideAllSites no#GroupDomains 0#GroupShading yes#GroupHighlight yes#IgnoreSite bad.site.netIgnoreSite localhost#IgnoreURL /test*#IgnoreReferrer file:/*IgnoreReferrer localhost#IgnoreAgent RealPlayer#IgnoreUser rootIncludeURL /index.php/*#IncludeUser someuser#MangleAgents 0SearchEngine .google. q=SearchEngine yahoo.com p=SearchEngine altavista.com q=SearchEngine aolsearch. query=SearchEngine ask.co q=SearchEngine eureka.com q=SearchEngine lycos.com query=SearchEngine hotbot.com MT=SearchEngine msn.com q=SearchEngine infoseek.com qt=SearchEngine excite search=SearchEngine netscape.com query=SearchEngine mamma.com query=SearchEngine alltheweb.com q=SearchEngine northernlight.com qr=#SearchCaseI yes#DumpPath /var/lib/httpd/logs#DumpHeader no#DumpExtension tab#DumpSites no#DumpURLs no#DumpReferrers no#DumpAgents no#DumpUsers no#DumpSearchStr no#ColorHit 00805c#ColorFile 0040ff#ColorSite ff8000#ColorKbyte ff0000#ColorIKbyte 0080ff#ColorOKbyte 00e000#ColorPage 00e0ff#ColorVisit ffff00#ColorMisc 00e0ff#PieColor1 800080#PieColor2 80ffc0#PieColor3 ff00ff#PieColor4 ffc080#TrueTypeFont Z góry dziękuję za pomoc w rozwiązaniu problemu Krzysztof Edytowano Grudzień 4, 2016 przez kermu (zobacz historię edycji) Udostępnij ten post Link to postu Udostępnij na innych stronach