# HG changeset patch # User Eric Joseph-Alexandre # Date 1293023002 -3600 # Node ID d2175a9978eeb83270ddac73ce84be2477063d87 # Parent 2f1ea04fc17b490fd7e39d325fdc2546b37972bc Add slitaz-labs config & themes diff -r 2f1ea04fc17b -r d2175a9978ee forum/README --- a/forum/README Wed Dec 22 10:41:18 2010 +0100 +++ b/forum/README Wed Dec 22 14:03:22 2010 +0100 @@ -9,4 +9,12 @@ * awstats 6.95 (optionnal) +Installation +------------ +Install required system softwares (apache, mysql, php). + +Create a system user for the forum. +i.e: adduser slitaz + + diff -r 2f1ea04fc17b -r d2175a9978ee labs/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/README Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,12 @@ +SliTaz #!/Labs +-------------------------------- + +SliTaz Labs is powered by redmine. +Running on Debian 4.0 with: + +* Apache 2.23 +* Php 5.2 +* Mysql 5.0.32(with InnoDB enabled) +* Ruby 1.8.7 +* passenger 2.1.5 +* rake 2.3.5 diff -r 2f1ea04fc17b -r d2175a9978ee labs/offline/images/header.png Binary file labs/offline/images/header.png has changed diff -r 2f1ea04fc17b -r d2175a9978ee labs/offline/images/slitaz-80x15.png Binary file labs/offline/images/slitaz-80x15.png has changed diff -r 2f1ea04fc17b -r d2175a9978ee labs/offline/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/offline/index.html Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,53 @@ + + + + SliTaz - Labs + + + + + + + + + + + + + +
+

Offline labs

+

+SliTaz Labs are offline for a while now due to hight CPU usage by +Redmine/ruby, we tried many things but the problem occure and helped +Tank crash. We are working on an stable solution and will try to be +online as soon as possible, please bear with us. +

+

+For now please use the community website forum: +community.slitaz.org/forum +

+ +
+
+ + + + diff -r 2f1ea04fc17b -r d2175a9978ee labs/offline/robots.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/offline/robots.txt Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff -r 2f1ea04fc17b -r d2175a9978ee labs/offline/style.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/offline/style.css Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,57 @@ +/* CSS style for SliTaz GNU/Linux generic xHTML files. */ +body { + font: 90% sans-serif, vernada, arial; + margin: 0; + } +/* Header */ +#header{ + background: #f0ba08 url(images/header.png) repeat-x top; + color: black; + width: 100%; + height: 50px ; + border-top: 1px solid black; + border-bottom: 1px solid black; + } +#content { + margin: 0px 50px 26px 50px; + } +#footer { + border-top: 1px solid black; + } +a { + text-decoration: underline; + } +a:hover { + text-decoration: none; + } +h1 { + margin: 10px 0px 0px 6px; + } +h2 { + margin: 12px 0; + } +pre { + padding: 5px; + color: black; + background: #e1e0b0; + } +pre.script { + padding: 10px; + color: black; + background: #e8e8e8; + border: 1px inset #333333; +} +li { + line-height: 1.4em; + } +code { + font-size: 100%; + color: #669900; + background: transparent; + } +hr { + color: white; + background-color: white; + height: 1px; + border: 0; + } diff -r 2f1ea04fc17b -r d2175a9978ee labs/redmine/config/database.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/redmine/config/database.yml Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,16 @@ +# MySQL (default setup). Versions 4.1 and 5.0 are recommended. +# +# Get the fast C bindings: +# gem install mysql +# (on OS X: gem install mysql -- --include=/usr/local/lib) +# And be sure to use new-style password hashing: +# http://dev.mysql.com/doc/refman/5.0/en/old-client.html + +production: + adapter: mysql + database: labs + host: localhost + username: slitaz + password: ****** + encoding: utf8 + diff -r 2f1ea04fc17b -r d2175a9978ee labs/redmine/config/email.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/redmine/config/email.yml Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,11 @@ +# Outgoing email settings + +production: + delivery_method: :smtp + smtp_settings: + address: localhost + port: 25 + domain: slitaz.org +# authentication: :login +# user_name: pankso@slitaz.org +# passwor: ******** diff -r 2f1ea04fc17b -r d2175a9978ee labs/redmine/themes/slitaz-simple/header.png Binary file labs/redmine/themes/slitaz-simple/header.png has changed diff -r 2f1ea04fc17b -r d2175a9978ee labs/redmine/themes/slitaz-simple/stylesheets/application.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/redmine/themes/slitaz-simple/stylesheets/application.css Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,149 @@ +@import url(../../../stylesheets/application.css); + +body { + background-color:#222222; +} + +#wrapper { + background-color: #eeeeee; +} + +#top-menu { + background: #f0ba08 url(../header.png) repeat-x top; + width: 100%; + padding: 0px 2px 0px 2px; + height: 50px; + border-top: 1px solid black; + border-bottom: 1px solid black; + font-size: 12px; +} +#top-menu a:hover { + background: inherit; + color: #222222; + text-decoration: none; +} + +#header { + background: transparent; + margin: -34px 0px 0px 0px; + padding: 0px 8px 0px 6px; +} +#header h1 { + color: black; +} + +#main { + background: white; + margin: 0px 0px 0px 0px; +} + +#content { + background: #fff; + border: 0px; + margin: 0px 20px 0px 20px; + overflow: auto; +} + +#footer { + background-color:#eeeeee; + border: 0px; +} + +/* Headers */ +h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;} + +h2 { + color: #DF8F06; + border-left: 10px solid #F3F3F3; + padding: 4px 0px 4px 4px; + margin: 0px 0px 4px 0px; +} + +/* Menu */ +#main-menu li a { + font-size: 12px; + font-weight: bold; + color: #3E1220; + background: inherit; + padding: 0px 4px 6px 4px; +} + +#main-menu li a:hover { + text-decoration: underline; + color: #DF8F06; + background-color: transparent; + text-decoration: none; +} + +#main-menu li a.selected, #main-menu li a.selected:hover { background-color: transparent; } + +#sidebar{ + /* background-color: #eeeeee; */ + float: right; + width: 16%; + position: relative; + z-index: 9; + min-height: 580px; + padding: 0px 0px 0px 10px; + margin: 0; + border-left: 1px dotted #d7d7d7; +} + +div.wiki { padding-right: 20px; } +div.contextual { padding-right: 20px; } +p.other-formats { padding-right: 20px; } + +/* Tables */ +table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; } +table.list thead th { + border-width: 1px; + border-style: solid; + border-top-color: #d7d7d7; + border-right-color: #d7d7d7; + border-left-color: #d7d7d7; + border-bottom-color: #999999; +} + +/* Issues grid styles by priorities (provided by Wynn Netherland) */ +table.list tr.issue a { color: #666; } + +tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; } +tr.odd.priority-5 { background: #ffc4c4; } +tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; } +tr.even.priority-5 { background: #ffd4d4; } +tr.priority-5 a, tr.priority-5:hover a { color: #900; } +tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; } + +tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; } +tr.odd.priority-4 { background: #ffc4c4; } +tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; } +tr.even.priority-4 { background: #ffd4d4; } +tr.priority-4 a { color: #900; } +tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; } + +tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; } +tr.odd.priority-3 { background: #fee; } +tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; } +tr.even.priority-3 { background: #fff2f2; } +tr.priority-3 a { color: #900; } +tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; } + +tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; } +tr.odd.priority-1 { background: #eaf7ff; } +tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; } +tr.even.priority-1 { background: #f2faff; } +tr.priority-1 a { color: #559; } +tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; } + +/* Buttons */ +input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; } +input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; } + +/* Fields */ +input[type="text"], textarea, select { padding: 2px; border: 1px solid #d7d7d7; } +input[type="text"] { padding: 3px; } +input[type="text"]:focus, textarea:focus, select:focus { border: 1px solid #888866; } +option { border-bottom: 1px dotted #d7d7d7; } + +/* Misc */ +.box { background-color: #fcfcfc; } diff -r 2f1ea04fc17b -r d2175a9978ee labs/redmine/themes/slitaz/header.png Binary file labs/redmine/themes/slitaz/header.png has changed diff -r 2f1ea04fc17b -r d2175a9978ee labs/redmine/themes/slitaz/logo.png Binary file labs/redmine/themes/slitaz/logo.png has changed diff -r 2f1ea04fc17b -r d2175a9978ee labs/redmine/themes/slitaz/stylesheets/application.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/redmine/themes/slitaz/stylesheets/application.css Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,203 @@ +@import url(../../../stylesheets/application.css); + +body { + background-color:#222222; +} + +#wrapper { + background-color: #eeeeee; +} + +/* +#top-menu { + background: transparent; + margin-top: -65px; + padding: 0px 4px 0px 4px; + font-size: 12px; + color: #333333; +} +*/ + +#top-menu { + background: #3c3c3c; + color: #fff; + height:1.8em; + font-size: 0.8em; + padding: 2px 2px 0px 6px; +} + +#top-menu a { + color: white; + margin-right: 4px; + font-weight: bold; + padding: 0px 2px 0px 2px; +} +#top-menu a:hover { + background: inherit; + color: #df6f06; + text-decoration: none; +} + +#header{ + background: #f0ba08 url(../header.png) repeat-x top; + color: black; + width: 100%; + height: 50px ; + border-top: 1px solid black; + border-bottom: 1px solid black; + margin: 0px 0px 30px 0px; + padding: 0; +} + +#titre{ + font-size: 20px; + font-weight: bolder ; + margin-left: 84px; + margin-top: 0px; + padding-top: 21px ; +} + +#logo { + position: absolute; + float: left; + margin-left: 32px; + margin-right: 20px; + margin-top: 14px; +} + +#main { + background: white; + margin: 0px 0px 0px 0px; +} + +#content { + background: #fff; + border: 0px; + margin: 0px 20px 0px 20px; + overflow: auto; +} + +#footer { + background-color:#eeeeee; + border: 0px; +} + +/* Headers */ +h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;} + +h2 { + color: #DF8F06; + border-left: 10px solid #F3F3F3; + padding: 4px 0px 4px 4px; + margin: 0px 0px 4px 0px; +} + +/* Menu */ +#main-menu { + position: absolute; + top: 60px; + margin-left: 0px; +} + +#main-menu li a { + font-size: 12px; + font-weight: bold; + color: #3E1220; + background: inherit; + padding: 0px 4px 6px 4px; +} + +#main-menu li a:hover { + text-decoration: underline; + color: #DF8F06; + background-color: transparent; + text-decoration: none; +} + +#main-menu li a.selected, #main-menu li a.selected:hover { background-color: transparent; } + +#quick-search { + position: absolute; + top: 56px; + right: 4px; + color: black; +} + +#quick-search a { + color: black; +} + +#quick-search a:hover { + color: #DF8F06; +} + +#sidebar{ + /* background-color: #eeeeee; */ + float: right; + width: 16%; + position: relative; + z-index: 9; + min-height: 580px; + padding: 0px 0px 0px 10px; + margin: 0; + border-left: 1px dotted #d7d7d7; +} + +div.wiki { padding-right: 20px; } +div.contextual { padding-right: 20px; } +p.other-formats { padding-right: 20px; } + +/* Tables */ +table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; } +table.list thead th { + border-width: 1px; + border-style: solid; + border-top-color: #d7d7d7; + border-right-color: #d7d7d7; + border-left-color: #d7d7d7; + border-bottom-color: #999999; +} + +/* Issues grid styles by priorities (provided by Wynn Netherland) */ +table.list tr.issue a { color: #666; } + +tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; } +tr.odd.priority-5 { background: #ffc4c4; } +tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; } +tr.even.priority-5 { background: #ffd4d4; } +tr.priority-5 a, tr.priority-5:hover a { color: #900; } +tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; } + +tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; } +tr.odd.priority-4 { background: #ffc4c4; } +tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; } +tr.even.priority-4 { background: #ffd4d4; } +tr.priority-4 a { color: #900; } +tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; } + +tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; } +tr.odd.priority-3 { background: #fee; } +tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; } +tr.even.priority-3 { background: #fff2f2; } +tr.priority-3 a { color: #900; } +tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; } + +tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; } +tr.odd.priority-1 { background: #eaf7ff; } +tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; } +tr.even.priority-1 { background: #f2faff; } +tr.priority-1 a { color: #559; } +tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; } + +/* Buttons */ +input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; } +input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; } + +/* Fields */ +input[type="text"], textarea, select { padding: 0px; border: 1px solid #d7d7d7; } +input[type="text"] { padding: 1px; } +input[type="text"]:focus, textarea:focus, select:focus { border: 1px solid #888866; } +option { border-bottom: 1px dotted #d7d7d7; } + +/* Misc */ +.box { background-color: #fcfcfc; } diff -r 2f1ea04fc17b -r d2175a9978ee labs/system-config/apache/labs.slitaz.org.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/system-config/apache/labs.slitaz.org.conf Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,17 @@ + + ServerAdmin webmaster@forum.slitaz.org + DocumentRoot /home/slitaz/www/labs/public + ServerName labs.slitaz.org + ErrorLog /home/slitaz/logs/labs-error_log + CustomLog /home/slitaz/logs/labs-access_log combined + + +#PassengerUserSwitching off +#PassengerDefaultUser www-data + + + AllowOverride all + Options -MultiViews FollowSymLinks + + + diff -r 2f1ea04fc17b -r d2175a9978ee labs/system-config/apache/passenger.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/system-config/apache/passenger.conf Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,8 @@ + + PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15 + PassengerRuby /usr/bin/ruby + PassengerUserSwitching off + PassengerDefaultUser www-data + PassengerUseGlobalQueue on + PassengerRestartDir /var/run/passenger + diff -r 2f1ea04fc17b -r d2175a9978ee labs/system-config/apache/passenger.load --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/system-config/apache/passenger.load Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,1 @@ +LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so diff -r 2f1ea04fc17b -r d2175a9978ee labs/system-config/awstats/awstats.labs.slitaz.org.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/system-config/awstats/awstats.labs.slitaz.org.conf Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,240 @@ +# AWSTATS CONFIGURE FILE 6.0 +#----------------------------------------------------------------------------- +# Copy this file into awstats.www.mydomain.conf and edit this new config file +# to setup AWStats (See documentation in docs/ directory). +# The config file must be in /etc/awstats, /usr/local/etc/awstats or /etc (for +# Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...) +# To include an environment variable in any parameter (AWStats will replace +# it with its value when reading it), follow the example: +# Parameter="__ENVNAME__" +# Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with +# the config value in an AWStats running session and can be used like others. +#----------------------------------------------------------------------------- +# $Revision: 1.271 $ - $Author: eldy $ - $Date: 2004/01/25 15:35:11 $ + + + +#----------------------------------------------------------------------------- +# MAIN SETUP SECTION (Required to make AWStats work) +#----------------------------------------------------------------------------- +LogFile="/home/slitaz/logs/labs-access_log" +LogType=W +LogFormat=1 +LogSeparator=" " +SiteDomain="labs.slitaz.org" +HostAliases="localhost 127.0.0.1 REGEX[labs\.slitaz\.org$]" +DNSLookup=0 +DirData="/var/db/awstats/labs.slitaz.org" +DirCgi="/cgi-bin" +DirIcons="/icon" +AllowToUpdateStatsFromBrowser=0 +AllowFullYearView=1 + + +#----------------------------------------------------------------------------- +# OPTIONAL SETUP SECTION (Not required but increase AWStats features) +#----------------------------------------------------------------------------- +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.htm" +SkipHosts="81.80.143.121" +SkipUserAgents="" +SkipFiles="" +OnlyHosts="" +OnlyUserAgents="" +OnlyFiles="" +NotPageList="css js class gif jpg jpeg png bmp ico" +ValidHTTPCodes="200 304" +ValidSMTPCodes="1 250" +AuthenticatedUsersNotCaseSensitive=0 +URLNotCaseSensitive=0 +URLWithAnchor=0 +URLQuerySeparators="?;" +URLWithQuery=0 +URLWithQueryWithOnlyFollowingParameters="" +URLWithQueryWithoutFollowingParameters="" +URLReferrerWithQuery=0 +WarningMessages=1 +ErrorMessages="" +DebugMessages=1 +NbOfLinesForCorruptedLog=50 +WrapperScript="" +DecodeUA=0 +MiscTrackerUrl="/js/awstats_misc_tracker.js" + +#----------------------------------------------------------------------------- +# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features) +#----------------------------------------------------------------------------- +LevelForBrowsersDetection=2 # 0 disables Browsers detection. + # 2 reduces AWStats speed by 2% +LevelForOSDetection=2 # 0 disables OS detection. + # 2 reduces AWStats speed by 3% +LevelForRefererAnalyze=2 # 0 disables Origin detection. + # 2 reduces AWStats speed by 14% +LevelForRobotsDetection=2 # 0 disables Robots detection. + # 2 reduces AWStats speed by 2.5% +LevelForSearchEnginesDetection=2 # 0 disables Search engines detection. + # 2 reduces AWStats speed by 9% +LevelForKeywordsDetection=2 # 0 disables Keyphrases/Keywords detection. + # 2 reduces AWStats speed by 1% +LevelForFileTypesDetection=2 # 0 disables File types detection. + # 2 reduces AWStats speed by 1% +LevelForWormsDetection=0 # 0 disables Worms detection. + # 2 reduces AWStats speed by 15% + + + +#----------------------------------------------------------------------------- +# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features) +#----------------------------------------------------------------------------- +UseFramesWhenCGI=1 +DetailedReportsOnNewWindows=1 +Expires=0 +MaxRowsInHTMLOutput=1000 +Lang="auto" +DirLang="./lang" +ShowMenu=1 +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 + +MaxNbOfDomain = 10 +MinHitDomain = 1 +MaxNbOfHostsShown = 10 +MinHitHost = 1 +MaxNbOfLoginShown = 10 +MinHitLogin = 1 +MaxNbOfRobotShown = 10 +MinHitRobot = 1 +MaxNbOfPageShown = 10 +MinHitFile = 1 +MaxNbOfOsShown = 10 +MinHitOs = 1 +MaxNbOfBrowsersShown = 10 +MinHitBrowser = 1 +MaxNbOfScreenSizesShown = 5 +MinHitScreenSize = 1 +MaxNbOfRefererShown = 10 +MinHitRefer = 1 +MaxNbOfKeyphrasesShown = 10 +MinHitKeyphrase = 1 +MaxNbOfKeywordsShown = 10 +MinHitKeyword = 1 +MaxNbOfEMailsShown = 20 +MinHitEMail = 1 +FirstDayOfWeek=1 + +ShowFlagLinks="" +ShowLinksOnUrl=1 +UseHTTPSLinkForUrl="" +MaxLengthOfShownURL=64 +HTMLHeadSection="" +HTMLEndSection="" +Logo="slitaz-logo.png" +LogoLink="http://forum.slita.org" +BarWidth = 260 +BarHeight = 90 +StyleSheet="" +color_Background="FFFFFF" # Background color for main page (Default = "FFFFFF") +color_TableBGTitle="CCCCDD" # Background color for table title (Default = "CCCCDD") +color_TableTitle="000000" # Table title font color (Default = "000000") +color_TableBG="CCCCDD" # Background color for table (Default = "CCCCDD") +color_TableRowTitle="FFFFFF" # Table row title font color (Default = "FFFFFF") +color_TableBGRowTitle="ECECEC" # Background color for row title (Default = "ECECEC") +color_TableBorder="ECECEC" # Table border color (Default = "ECECEC") +color_text="000000" # Color of text (Default = "000000") +color_textpercent="606060" # Color of text for percent values (Default = "606060") +color_titletext="000000" # Color of text title within colored Title Rows (Default = "000000") +color_weekend="EAEAEA" # Color for week-end days (Default = "EAEAEA") +color_link="0011BB" # Color of HTML links (Default = "0011BB") +color_hover="605040" # Color of HTML on-mouseover links (Default = "605040") +color_u="FFAA66" # Background color for number of unique visitors (Default = "FFAA66") +color_v="F4F090" # Background color for number of visites (Default = "F4F090") +color_p="4477DD" # Background color for number of pages (Default = "4477DD") +color_h="66DDEE" # Background color for number of hits (Default = "66DDEE") +color_k="2EA495" # Background color for number of bytes (Default = "2EA495") +color_s="8888DD" # Background color for number of search (Default = "8888DD") +color_e="CEC2E8" # Background color for number of entry pages (Default = "CEC2E8") +color_x="C1B2E2" # Background color for number of exit pages (Default = "C1B2E2") + + + +#----------------------------------------------------------------------------- +# PLUGINS +#----------------------------------------------------------------------------- +#LoadPlugin="tooltips" +#LoadPlugin="decodeutfkeys" +#LoadPlugin="ipv6" +#LoadPlugin="hashfiles" +LoadPlugin="geoipfree" +#LoadPlugin="geoip" +#LoadPlugin="userinfo" +#LoadPlugin="hostinfo" +#LoadPlugin="urlalias" +#LoadPlugin="timehires" +#LoadPlugin="timezone +2" +#LoadPlugin="rawlog" +#LoadPlugin="graphapplet /awstatsclasses" # EXPERIMENTAL FEATURE + + + +#----------------------------------------------------------------------------- +# EXTRA SECTIONS +#----------------------------------------------------------------------------- +#ExtraSectionName1="Product orders" +#ExtraSectionCondition1="URL,\/cgi\-bin\/order\.cgi|URL,\/cgi\-bin\/order2\.cgi" +#ExtraSectionFirstColumnTitle1="Product ID" +#ExtraSectionFirstColumnValues1="QUERY_STRING,productid=([^&]+)" +#ExtraSectionFirstColumnFormat1="%s" +#ExtraSectionStatTypes1=PL +#ExtraSectionAddAverageRow1=0 +#ExtraSectionAddSumRow1=1 +#MaxNbOfExtra1=20 +#MinHitExtra1=1 + + + +#----------------------------------------------------------------------------- +# INCLUDES +#----------------------------------------------------------------------------- +#Include "" + diff -r 2f1ea04fc17b -r d2175a9978ee labs/system-config/logrotate.d/slitaz-labs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/labs/system-config/logrotate.d/slitaz-labs Wed Dec 22 14:03:22 2010 +0100 @@ -0,0 +1,21 @@ +/home/slitaz/logs/labs-access_log { + missingok + daily + rotate 5 +# prerotate +# /usr/local/bin/awsupdate labs.slitaz.org +# endscript + postrotate + /usr/bin/killall -HUP apache2 2> /dev/null || true + endscript +} + +/home/slitaz/logs/labs-error_log { + missingok + daily + rotate 5 + postrotate + /usr/bin/killall -HUP apache2 2> /dev/null || true + endscript +} +