Re: stats
| From: | Jim Winstead | Date: | Sat, 20 Apr 2002 16:08:33 +0000 |
| Subject: | Re: stats | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-9698@lists.php.net to get a copy of this message | ||
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