haber echar andar sqstat es de lo más fácil, este es el contenido del
fichero de config
<?php
/* global settings */
$use_js=true; // use javascript for the HTML toolkits
// Maximum URL length to display in URI table column
DEFINE("SQSTAT_SHOWLEN",60);
/* proxy settings */
/* Squid proxy server ip address or host name */
$squidhost[0]="localhost";
/* Squid proxy server port */
$squidport[0]=3128;
/* cachemgr_passwd in squid.conf. Leave blank to disable authorisation */
#$cachemgr_passwd[0]="123";
/* Resolve user IP addresses or print them as numbers only [true|false] */
$resolveip[0]=false;
/* uncomment next line if you want to use hosts-like file.
See hosts.txt.dist. */
//$hosts_file[0]="/var/www/sqstat/hosts"
/* Group users by hostname - "host" or by User - "username". Username
work only
with squid 2.6+ */
$group_by[0]="host";
/* you can specify more than one proxy in the configuration file, e.g.: */
// $squidhost[1]="192.168.0.2";
// $squidport[1]=3129;
// $cachemgr_passwd[1]="secret";
// $resolveip[1]=true;
// $hosts_file[1]="otherhosts.txt"
?>
Este es el hostvirtual
<VirtualHost *:80>
ServerName sqstat.ca.mfp.gov.cu
ServerAdmin elis...@ca.mfp.gov.cu
DocumentRoot /var/www/sqstat
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/sqstat>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from 192.168.22.2
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from 192.168.22.2
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Lo otro que tienes que tener en cuenta es copiar el sqstat hacía la
carpeta /var/www darle los permisos pertinentes, tener cargados los
módulos en el apache php y rewrite, instalar la libreria de apache para
php creo que es está libapache2-mod-php5 en algunos casos es necesario
reiniciar el server para que los cambios surtan efecto..
Salu2
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l