[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/docs webalizer-HOWTO.html,1.3,1.4
From: |
tom |
Subject: |
[Gforge-commits] gforge/docs webalizer-HOWTO.html,1.3,1.4 |
Date: |
Tue, 21 Sep 2004 11:57:07 -0500 |
Update of /cvsroot/gforge/gforge/docs
In directory db.perdue.net:/tmp/cvs-serv19766
Modified Files:
webalizer-HOWTO.html
Log Message:
gsmet's checkin reminded me to fix some of these links
Index: webalizer-HOWTO.html
===================================================================
RCS file: /cvsroot/gforge/gforge/docs/webalizer-HOWTO.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- webalizer-HOWTO.html 21 Sep 2004 16:13:11 -0000 1.3
+++ webalizer-HOWTO.html 21 Sep 2004 16:57:04 -0000 1.4
@@ -11,15 +11,15 @@
<h2>Webalizer HOWTO</h2>
<h3>Updated 05/20/03</h3>
-<p><a href="http://www.mrunix.net/webalizer/">Webalizer</a> is a tool for
creating <a href="http://cougaarforge.cougaar.org/usage/">nice graphs</a> of
web site usage. It's not too hard to set up, but hopefully this document will
show how <a href="http://cougaarforge.cougaar.org">CougaarForge</a> uses
Webalizer to create usage graphs for each virtual host and a combined usage
page as well.
+<p><a href="http://www.mrunix.net/webalizer/">Webalizer</a> is a tool for
creating <a href="http://cougaar.org/usage/">nice graphs</a> of web site usage.
It's not too hard to set up, but hopefully this document will show how <a
href="http://cougaar.org">CougaarForge</a> uses Webalizer to create usage
graphs for each virtual host and a combined usage page as well.
<p>First, when I add a new project to CougaarForge, I create a new virtual
host entry in httpd.conf with a log file for that host:
<pre>
<VirtualHost *>
- ServerName csmart.cougaarforge.cougaar.org
+ ServerName csmart.cougaar.org
DocumentRoot /var/www/gforge-3.0/csmart
- CustomLog /usr/local/var/httpd/log/csmart-access_log common
- ErrorLog /usr/local/var/httpd/log/csmart-error_log
+ CustomLog /var/log/httpd/csmart-access_log common
+ ErrorLog /var/log/httpd/csmart-error_log
</VirtualHost>
</pre>
@@ -41,16 +41,16 @@
<pre>
#!/bin/bash
-# run webalizer on cougaarforge.cougaar.org first
+# run webalizer on cougaar.org first
/usr/bin/webalizer -c /etc/webalizer/cougaarforge-webalizer.conf
# run webalizer on all the logs after combining and sorting them
-cat /usr/local/var/httpd/log/*access_log >
/usr/local/var/httpd/log/all_access_log_unsorted
-sort -t ' ' -k 4.9,4.12n -k 4.5,4.7M -k 4.2,4.3n -k 4.14,4.15n -k 4.17,4.18n
-k 4.20,4.21n /usr/local/var/httpd/log/all_access_log_unsorted
-> /usr/local/var/httpd/log/all_access_log
+cat /var/log/httpd/*access_log > /var/log/httpd/all_access_log_unsorted
+sort -t ' ' -k 4.9,4.12n -k 4.5,4.7M -k 4.2,4.3n -k 4.14,4.15n -k 4.17,4.18n
-k 4.20,4.21n /var/log/httpd/all_access_log_unsorted
+> /var/log/httpd/all_access_log
/usr/bin/webalizer -c /etc/webalizer/cougaarforge-all-webalizer.conf
-rm /usr/local/var/httpd/log/all_access_log
-rm /usr/local/var/httpd/log/all_access_log_unsorted
+rm /var/log/httpd/all_access_log
+rm /var/log/httpd/all_access_log_unsorted
for project in `ls /var/www/gforge-3.0/ | grep -v prototype | grep -v www |
grep -v common`
do
@@ -66,7 +66,7 @@
done
</pre>
-<p>Nifty, huh? So now you can get to each project's usage page with a URL
something like this - <a
href="http://tutorials.cougaarforge.cougaar.org/usage/">http://tutorials.cougaarforge.cougaar.org/usage/</a>
- and there's a <a href="http://cougaarforge.cougaar.org/usage_all/">combined
page</a>, too!
+<p>Nifty, huh? So now you can get to each project's usage page with a URL
something like this - <a
href="http://tutorials.cougaar.org/usage/">http://tutorials.cougaar.org/usage/</a>
- and there's a <a href="http://cougaar.org/usage_all/">combined page</a>, too!
<p>I've probably forgotten some important details; if you can think of a way
to improve this document, please post to the <a
href="http://gforge.org/forum/?group_id=1">GForge forums</a>.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/docs webalizer-HOWTO.html,1.3,1.4,
tom <=