Changeset 2161

Show
Ignore:
Timestamp:
04/21/08 23:13:57 (3 weeks ago)
Author:
engelaere
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-awstats/trunk/awstats.alternc.generic.conf

    r1859 r2161  
    4949# Example: "/pathtotools/logresolvemerge.pl *.log |" 
    5050# 
    51 LogFile="/var/log/apache/access.log" 
    5251 
    5352 
     
    14681467# 
    14691468 
    1470  
     1469Include "/etc/awstats/awstats.log.alternc.conf" 
  • alternc-awstats/trunk/awstats.template.conf

    r1859 r2161  
    55DirData="/var/cache/awstats/%%HOSTNAME%%" 
    66AllowAccessFromWebToFollowingAuthenticatedUsers="root %%USERS%%" 
     7AllowAccessFromWebToAuthenticatedUsersOnly=%%PUBLIC%% 
    78AllowFullYearView=3 
  • alternc-awstats/trunk/debian/changelog

    r1887 r2161  
     1alternc-awstats (0.5.2) testing; urgency=low 
     2 
     3  * Close Ticket #1120 
     4  * Close Ticket #1126 
     5  * Compatible Apache2 
     6 
     7 -- Arnaud Engelaere <webmaster@servlan.org>  Mon, 21 Apr 2008 22:20:49 +0100 
     8 
    19alternc-awstats (0.5.1) testing; urgency=low 
    210 
  • alternc-awstats/trunk/debian/control

    r1866 r2161  
    2323 More information on http://www.alternc.org/. 
    2424Description-fr: Modules de gestion de statistiques awstats pour AlternC.  
    25  Alternc est un logiciel d'hébergement intégral basé sur le 
    26  projet français de Valentin Lacambre « altern.org »
     25 Alternc est un logiciel d'hébergement intégral basé sur le 
     26 projet français de Valentin Lacambre < altern.org >
    2727 . 
    2828 Ce paquet est un module optionnel qui permet aux utilisateurs 
    29  du bureau AlternC de gérer leurs statistiques Awstats. Ce module 
    30  ajoute la classe m_aws à AlternC. 
     29 du bureau AlternC de gèrer leurs statistiques Awstats. Ce module 
     30 ajoute la classe m_aws à AlternC. 
    3131 . 
    3232 Pour plus d'informations, consultez http://www.alternc.org/. 
  • alternc-awstats/trunk/debian/postinst

    r1866 r2161  
    88CONFIGFILE="/etc/alternc/local.sh" 
    99MENUFILE="/etc/alternc/menulist.txt" 
    10 APACHEROTATE="/etc/logrotate.d/apache" 
     10LOGAPACHE="/etc/awstats/awstats.log.alternc.conf" 
     11 
     12if [ -x /usr/sbin/apache ]; then 
     13    APACHEROTATE="/etc/logrotate.d/apache" 
     14fi 
     15 
     16if [ -x /usr/sbin/apache2 ]; then 
     17    APACHEROTATE="/etc/logrotate.d/apache2" 
     18fi 
    1119 
    1220# Add awstats include to the apache configuration file given as argument 
     
    4553    # configure /etc/alternc/templates/apache-ssl/httpd.conf 
    4654 
    47     if [ ! -h /etc/apache/conf.d/alterncawstats.conf ]; then 
    48         ln -sf /etc/alternc/alterncawstats.conf \ 
    49             /etc/apache/conf.d/alterncawstats.conf 
     55    if [ -x /usr/sbin/apache ]; then 
     56        if [ ! -h /etc/apache/conf.d/alterncawstats.conf ]; then 
     57            ln -sf /etc/alternc/alterncawstats.conf \ 
     58                /etc/apache/conf.d/alterncawstats.conf 
     59        fi 
     60        # build awstats.log.alternc.conf if it does not exist 
     61        if [ ! -f $LOGAPACHE ]; then 
     62            cat > $LOGAPACHE <<EOF 
     63LogFile="/var/log/apache/access.log" 
     64EOF 
     65            chown www-data:www-data $LOGAPACHE 
     66            chmod 640 $LOGAPACHE 
     67        fi 
     68    fi 
     69 
     70    if [ -x /usr/sbin/apache2 ]; then 
     71        if [ ! -h /etc/apache2/conf.d/alterncawstats.conf ]; then 
     72            ln -sf /etc/alternc/alterncawstats.conf \ 
     73                /etc/apache2/conf.d/alterncawstats.conf 
     74        fi 
     75        # build awstats.log.alternc.conf if it does not exist 
     76        if [ ! -f $LOGAPACHE ]; then 
     77            cat > $LOGAPACHE <<EOF 
     78LogFile="/var/log/apache2/access.log" 
     79EOF 
     80            chown www-data:www-data $LOGAPACHE 
     81            chmod 640 $LOGAPACHE 
     82        fi 
    5083    fi 
    5184 
     
    5588    fi 
    5689 
    57      
    5890    if [ ! -h /var/alternc/cgi-bin/awstats.pl ]; then 
    5991        ln -sf /usr/lib/cgi-bin/awstats.pl \ 
     
    6597    # Process the language compilation. 
    6698    /usr/share/alternc/install/dopo.sh 
    67      
     99 
    68100    # Add htpasswd :  
    69101    touch /etc/alternc/awstats.htpasswd 
  • alternc-awstats/trunk/debian/postrm

    r1579 r2161  
    3939    rm -f /etc/alternc/alterncawstats.conf \ 
    4040        /etc/apache/conf.d/alterncawstats.conf \ 
     41        /etc/apache2/conf.d/alterncawstats.conf \ 
    4142        /etc/apache-ssl/conf.d/alterncawstats.conf 
    4243    ;;