Mirror Stats
| From: | firdauz mokhtar | Date: | Thu, 30 Apr 2009 06:44:08 +0000 |
| Subject: | Mirror Stats | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-37210@lists.php.net to get a copy of this message | ||
Dear Sir/Madam,
I've successfully configured and setup a mirror site for php.
However im encounter a little problem when setting up local stats.
I've follow the instruction here
http://us3.php.net/mirroring-stats.php
Inside the configuration file, the "HTMLPre" section
HTMLPre <?php $_SERVER['BASE_PAGE'] = 'stats/index.php'; include_once
$_SERVER['DOCUMENT_ROOT'] . "/include/prepend.inc"; ?>
The problem is "webalizer -c" command didnt generate this section correctly
inside the index.php file.
The line stop as below in my index.php for this section.
<?php $_SERVER['BASE_PAGE'] = 'stats/index.php'; include_once
$_SERVER['DOCUMENT
This give parse error when viewing stats directory.
When i edit the index.php and put the whole line it works fine.
Any idea on how to fix this?.
I really appreciate your reply.
Thank you.