RE: stats
| From: | Spyros Ioakim | Date: | Sun, 21 Apr 2002 17:27:39 +0000 |
| Subject: | RE: stats | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-9718@lists.php.net to get a copy of this message | ||
Right... done.
Although README.mirror states to add:
# next line is only necessary if generating stats (see
stats/README.stats)
Alias /stats/ /path/to/local/stats
I found out that I had to use /stats (without the slash at the end)
because when you tried to access:
http://gr2.php.net/stats
you would get an error message while
http://gr2.php.net/stats/
whould work.
Apache bug or normal behaviour... It works for me know.
Thanks a lot for the tip.
Spyros
-----Original Message-----
From: Jim Winstead [mailto:jimw@apache.org]
Sent: Saturday, April 20, 2002 7:09 PM
To: Spyros Ioakim
Cc: mirrors@php.net
Subject: Re: stats
On Sat, Apr 20, 2002 at 12:54:18PM +0300, Spyros Ioakim wrote:
> i set up stats but whenever rsync runs it deletes the page.
> is this normal behaviour?
> do you guys have to change anything?
>
> here is what i have
> cat /etc/cron.daily/phpweb
> /usr/bin/rsync -avC --delete rsync.php.net::phpweb /home/httpd/phpweb
> cd /home/httpd/phpweb/stats
> /usr/local/bin/webalizer -c php.conf -x php >/dev/null
you should be generating the stats in a different directory (outside of
the rsync tree), and using an Alias directive to get /stats/ to point to
that directory. the example in README.mirror shows how to do this.
jim