Pagina Inicio con totales para los dominios Awstats

De Wikillano
Saltar a: navegación, buscar

Pagina Inicio con totales para los dominios Awstats

He encontrado una web en php que nos lista los dominios con sus totales, desde esta web podemos acceder a las estadísticas de los dominio disponibles.

Una vez descomprimido el paquete deberemos modificar los fichero awstatstotals.php/awstats.php para nuestra configuración de awstats

awstats.php:

/**
* The location of the AWStats script.
*/
$AWStatsFile = '/usr/local/awstats/wwwroot/cgi-bin';

awstatstotals.php: (esto variará dependiendo de nuestra instalación.)

/**
* Set this value to the directory where AWStats
* saves its database and working files into.
*/
$DirData = '/data/awstatsdata/';


/**
* The URL of the AWStats script.
*/
$AWStatsURL = '/awstats/awstats.pl';


/**
* Set your language.
* Possible value:
*  Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan=ca,
*  Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Czech=cz, Danish=dk,
*  Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi,
*  French=fr, Galician=gl, German=de, Greek=gr, Hebrew=he, Hungarian=hu,
*  Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=kr,
*  Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl,
*  Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru,
*  Serbian=sr, Slovak=sk, Spanish=es, Swedish=se, Turkish=tr, Ukrainian=ua,
*  Welsh=wlk.
*  First available language accepted by browser=auto
*/
$Lang = 'auto';


/**
* Set the location of language files.
*/
$DirLang = '/usr/local/awstats/wwwroot/cgi-bin/lang';


Una vez modificados los copiaremos a nuestro directorio web, en mi caso /data/www/estadisticas. para no tener que teclear en la URL el nombre del script podemos crear un link index.php que apunte a awstatstotales.php

Herramientas personales