summaryrefslogtreecommitdiff
path: root/network/awstats/patches
diff options
context:
space:
mode:
Diffstat (limited to 'network/awstats/patches')
-rw-r--r--network/awstats/patches/httpd-awstats.conf.patch25
1 files changed, 15 insertions, 10 deletions
diff --git a/network/awstats/patches/httpd-awstats.conf.patch b/network/awstats/patches/httpd-awstats.conf.patch
index da4edd5de2..8416e86420 100644
--- a/network/awstats/patches/httpd-awstats.conf.patch
+++ b/network/awstats/patches/httpd-awstats.conf.patch
@@ -1,16 +1,21 @@
-By Nishant Limbachia <nishant@mnspace.net>
-1. Fixup paths for SlackBuilds.org
-2. Tighten default access mode
-
---- tools/httpd_conf.orig 2009-01-27 10:41:54.000000000 -0600
-+++ tools/httpd_conf 2009-01-27 15:04:31.000000000 -0600
-@@ -1,23 +1,19 @@
- #
+--- tools/httpd_conf.orig 2010-10-23 19:51:54.680793559 -0500
++++ tools/httpd_conf 2010-10-23 20:05:01.614053640 -0500
+@@ -1,29 +1,23 @@
+-#
-# Content of this file, with correct values, can be automatically added to
-# your Apache server by using the AWStats configure.pl tool.
-#
-
--#
+-
+-# If using Windows and Perl ActiveStat, this is to enable Perl script as CGI.
+-#ScriptInterpreterSource registry
+-
++# Modified by Nishant Limbachia <nishant _AT_ mnspace _DOT_ net>
++# Modified on Oct 23, 2010
++# 1. Fixup paths for SlackBuilds.org
++# 2. Tighten default access mode
+
+ #
# Directives to add to your Apache conf file to allow use of AWStats as a CGI.
-# Note that path "/usr/local/awstats/" must reflect your AWStats install path.
#
@@ -18,7 +23,7 @@ By Nishant Limbachia <nishant@mnspace.net>
-Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
-Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
-ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"
-+
+-
+Alias /awstatsclasses "@DOCROOT@/awstats/wwwroot/classes/"
+Alias /awstatscss "@DOCROOT@/awstats/wwwroot/css/"
+Alias /awstatsicons "@DOCROOT@/awstats/wwwroot/icon/"