[-]
[+]
|
Changed |
vhcs2.spec
|
|
[-]
[+]
|
Added |
awstats-apache.conf
^
|
@@ -0,0 +1,16 @@
+Alias /icons/awstats @VHCSROOT@/htdocs/icons/awstats
+<Directory @VHCSROOT@/htdocs/icons>
+ AllowOverride none
+ Options MultiViews IncludesNoExec FollowSymLinks
+ Order allow,deny
+ Allow from all
+</Directory>
+
+Alias /stats @VHCSROOT@/stats
+<Directory @VHCSROOT@/stats>
+ #AllowOverride AuthConfig
+ Options -Indexes -Includes -FollowSymLinks
+ Order allow,deny
+ Allow from all
+</Directory>
+
|
[-]
[+]
|
Changed |
awstats-dist.tar.bz2/create_static_awstats.sh
^
|
@@ -5,9 +5,9 @@
# config dir
awstatsconfdir="/etc/awstats"
# path to awstats_buildstaticpages.pl
-buildstatic="/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl"
+buildstatic="@AWSTATS_DOCDIR@/awstats/tools/awstats_buildstaticpages.pl"
# path to awstats.pl
-awstatspl="/usr/lib/cgi-bin/awstats/awstats.pl"
+awstatspl="@VHCSROOT@/cgi-bin/awstats.pl"
# default language of pages
language="de"
###################################################################################################################################
|
[-]
[+]
|
Added |
awstats-index.php
^
|
@@ -0,0 +1,6 @@
+<?php
+
+ $nowww = ereg_replace("^www.","",$_SERVER['HTTP_HOST']);
+ header("Location: http://" . $_SERVER['HTTP_HOST'] . "/stats/awstats.www." . $nowww . ".html");
+
+?>
|