Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Difference between revisions of "Appropedia:Site development/archive (Admin tasks)"

From Appropedia
Jump to: navigation, search
m (Protected "Appropedia:Admin Tasks": these are sysop only tasks [edit=sysop:move=sysop])
(AWStats still not working (not big deal as Google Analytics is). Moved Input box content.)
Line 1: Line 1:
 +
==Input box==
 +
*Installed 10/16/06 by --[[User:Lonny|Lonny]]
 +
*as per http://en.wikipedia.org/wiki/Help:Inputbox
 +
*put inputbox.php in extensions folder
 +
*added require_once("extensions/inputbox.php"); to LocalSetting.php
 +
*Check again when mediawiki is updated
 +
 
==AWStats==
 
==AWStats==
 
Some specifics after installing AWstats.  See http://wiki.dreamhost.com/index.php/AWStats_Installation for nice instructions.
 
Some specifics after installing AWstats.  See http://wiki.dreamhost.com/index.php/AWStats_Installation for nice instructions.
Line 4: Line 11:
 
  perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl  -config=appropedia.org -update \  -awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl  -dir=/home/lonny1/appropedia.org/statistics/
 
  perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl  -config=appropedia.org -update \  -awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl  -dir=/home/lonny1/appropedia.org/statistics/
  
==Changes to log file==
+
===Changes to log file===
 
  LogFile="/home/lonny1/logs/appropedia.org/http/access.log"
 
  LogFile="/home/lonny1/logs/appropedia.org/http/access.log"
 
  LogFormat="%host %other %other %time1 %methodurl %code %bytesd %refererquot %uaquot"
 
  LogFormat="%host %other %other %time1 %methodurl %code %bytesd %refererquot %uaquot"
Line 15: Line 22:
 
  DefaultFile="index.php index.html"
 
  DefaultFile="index.php index.html"
  
==Cron -e==
+
===Cron -e===
 
One every hour on the fifteen minute mark.
 
One every hour on the fifteen minute mark.
 
  15 0 * * * perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl
 
  15 0 * * * perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl
Line 28: Line 35:
 
  -dir=/home/lonny1/buildcapacity.org/statistics/
 
  -dir=/home/lonny1/buildcapacity.org/statistics/
  
==Future steps==
+
===Future steps===
 
*Password protect the folder [http://wiki.dreamhost.com/index.php/Password-protecting_directories].
 
*Password protect the folder [http://wiki.dreamhost.com/index.php/Password-protecting_directories].
 +
 +
===More Notes===
 +
Still not working correctly.

Revision as of 22:19, 12 November 2006

Input box

AWStats

Some specifics after installing AWstats. See http://wiki.dreamhost.com/index.php/AWStats_Installation for nice instructions.

Perl to run the page

perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl  -config=appropedia.org -update \  -awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl  -dir=/home/lonny1/appropedia.org/statistics/

Changes to log file

LogFile="/home/lonny1/logs/appropedia.org/http/access.log"
LogFormat="%host %other %other %time1 %methodurl %code %bytesd %refererquot %uaquot"
SiteDomain="appropedia.org"
HostAliases="www.appropedia.org"
DNSLookup=0
DirData="/home/lonny1/awstats/data/"
DirIcons="icon"
SaveDatabaseFilesWithPermissionsForEveryone=0
DefaultFile="index.php index.html"

Cron -e

One every hour on the fifteen minute mark.

15 0 * * * perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl
-config=appropedia.org -update
-awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl
-dir=/home/lonny1/appropedia.org/statistics/

Once per day at 3am:

0 3 * * * perl /home/lonny1/awstats/tools/awstats_buildstaticpages.pl
-config=buildcapacity.org -update
-awstatsprog=/home/lonny1/awstats/cgi-bin/awstats.pl
-dir=/home/lonny1/buildcapacity.org/statistics/

Future steps

  • Password protect the folder [1].

More Notes

Still not working correctly.