I followed the steps from here. Awstats continues to read "access.log" (old) and not "access-full-clf.log" (new).
How do I tell awstats to read the new log file?
[Solved]
chuyskywalker wrote:In the file there are several important lines that you need to change:
1) Line 51.
LogFile="/var/log/httpd/mylog.log"
Change this line to the
XAMPP_PATH\apache\logs\access.log
Izzy wrote:I am assuming your followed the above instructions exactly instead of using your new log file name:
XAMPP_PATH\apache\logs\access-full-clf.log ???
abelmiah wrote:... Does awstats only update from cmd line "XAMPP_PATH\perl\bin\perl.exe XAMPP_PATH\cgi-bin\awstats.pl -config=WWW_YOURHOST_COM -update"?.
If so, is there a way I can make a page that updates the file before it displays the stats (ie. batch file)?
abelmiah wrote:How about editing the the xampp page tools/navi? I would like to put a link to awstats there. Is this possible?
<a class="n" target="_top" onclick="h(this);" href="/phpmyadmin/"><?php echo $TEXT['navi-phpmyadmin']; ?></a><br>
<a class="n" target="_top" onclick="h(this);" href="/cgi-bin/awstats/awstats.pl"><?php echo $TEXT['navi-awstats']; ?></a><br>
xampp-|
|cgi-bin-|
|htdocs-|
|web-|
|xampp-
|phpMyAdminp
$TEXT['navi-awstats'] = "Awstats";
<a class="n" target="content" onclick="h(this);" href="C:/Program Files (x86)/xampp/cgi-bin/awstats/awstats.pl"><?php echo $TEXT['navi-awstats']; ?></a><br>
<a class="n" target="content" onclick="h(this);" href="/cgi-bin/awstats/awstats.pl"><?php echo $TEXT['navi-awstats']; ?></a><br>
... but I do need some kind of stats
Izzy wrote:Just tested a cgi file in the cgi-bin using the path you have shown above and it loaded just fine and it showed the entry in the menu after the above language file edits.
$TEXT['navi-tools'] = "Tools";
$TEXT['navi-phpmyadmin'] = "phpMyAdmin";
$TEXT['navi-webalizer'] = "Webalizer";
$TEXT['navi-mercury'] = "Mercury Mail";
$TEXT['navi-printenv'] = "Sys Environment";
$TEXT['navi-filezilla'] = "FileZilla FTP";
$TEXT['navi-jpgraph'] = "JpGraph";
<a class="n" target="_top" onclick="h(this);" href="/phpmyadmin/"><?php echo $TEXT['navi-phpmyadmin']; ?></a><br>
<a class="n" target="content" onclick="h(this);" href="/webalizer/webalizer.php"><?php echo $TEXT['navi-webalizer']; ?></a><br>
<a class="n" target="content" onclick="h(this);" href="phpswitch.php"><?php echo $TEXT['navi-phpswitch']; ?></a><br>
<a class="n" target="content" onclick="h(this);" href="/cgi-bin/printenv.pl"><?php echo $TEXT['navi-printenv']; ?></a><br>
abelmiah wrote:Cleared the cache and still the same.
Webalizer is not bad. Something to think about.
Users browsing this forum: No registered users and 111 guests