Pages : 1
#1 Le 11/05/2008, à 02:15
- geekubuntu
Aide pour Awstats
Holé,
J'ai décidé de mettre awstats 6.8 directement dans mon home J'ai donc:
- toto qui est l'user
- /home/toto/heberg/website1 le répertoire racine du site
- /home/toto/heberg/website/webstats/ le répertoire pour les stats
les répertoires docs, tools et wwroot sont donc dans /webstats
Voici la config pour apache:
<VirtualHost 192.168.0.12:80>
ServerName toto.org
DocumentRoot /home/toto/heberg/website1
<Directory />
Order Deny,Allow
Deny from all
Options None
AllowOverride None
</Directory>
<Directory "/home/toto/heberg/website1">
DirectoryIndex index.html index.php
Options Indexes Includes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Alias /webstats/awstatsclasses "/home/toto/heberg/website1/webstats/wwwroot/classes/"
Alias /webstats/awstatscss "/home/toto/heberg/website1/webstats/wwwroot/css/"
Alias /webstats/awstats-icon "/home/toto/heberg/website1/webstats/wwwroot/icon/"
ScriptAlias /webstats/ /home/toto/heberg/website1/webstats/wwwroot/cgi-bin/
ScriptAlias /cgi-bin/ /home/toto/heberg/website1/webstats/wwwroot/cgi-bin/
<Directory "/home/toto/heberg/website1/webstats/wwwroot/cgi-bin">
DirectoryIndex awstats.pl
UseCanonicalName off
AuthName "Statistiques"
AuthType Basic
Require valid-user
AuthUserFile /home/toto/heberg/website1/.htpasswd
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
mais cela n'a pas l'air bon:
- 1/ les images sont situées sur: http://www.monsite.org/home/toto/heberg/website1/webstats/wwwroot/icon/other/page.png , donc injoignables
- 2/ je n'arrive pas sur mon .pl quand j'arrive directement dans webstats, il faut que j'aille sur http://www.monsite.org/webstats/awstats.pl
quelqu'un peut-il me corriger?
++
Dernière modification par geekubuntu (Le 11/05/2008, à 02:16)
Trouve ton GULL!! --> http://www.trouvetongull.info/
Hors ligne
Pages : 1