diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2013-11-07 23:56:46 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-09 01:34:40 -0600 |
commit | bfaee0c4df297c18275250c13a9d1af34905bc22 (patch) | |
tree | 7a502fb57e5ebe12124fe8516d36fabc5e4c1cd8 /network/awstats/patches/httpd-awstats.conf.patch | |
parent | 3759ff810432a320072f01de76295be605161108 (diff) | |
download | slackbuilds-bfaee0c4df297c18275250c13a9d1af34905bc22.tar.gz |
network/awstats: Updated for version 7.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/awstats/patches/httpd-awstats.conf.patch')
-rw-r--r-- | network/awstats/patches/httpd-awstats.conf.patch | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/network/awstats/patches/httpd-awstats.conf.patch b/network/awstats/patches/httpd-awstats.conf.patch index 8416e86420..76a276f1aa 100644 --- a/network/awstats/patches/httpd-awstats.conf.patch +++ b/network/awstats/patches/httpd-awstats.conf.patch @@ -1,23 +1,8 @@ ---- 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 - - # +--- tools/httpd_conf.orig 2013-11-06 23:39:17.353035049 -0600 ++++ tools/httpd_conf 2013-11-07 07:34:04.009417358 -0600 +@@ -12,18 +12,19 @@ # 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. + # Note that path "/usr/local/awstats/" must reflect your AWStats install path. # -Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/" -Alias /awstatscss "/usr/local/awstats/wwwroot/css/" @@ -33,12 +18,14 @@ # This is to permit URL access to scripts/files in AWStats directory. # -<Directory "/usr/local/awstats/wwwroot"> +- Options None ++# Allowing access only via local machine may be too restrictive so you can ++# set Require ip directive below to allow access to AWStats ++# via your local LAN. +<Directory "@DOCROOT@/awstats/wwwroot"> - Options None ++ Options FollowSymLinks ExecCGI AllowOverride None - Order allow,deny - Allow from all -+ Order deny,allow -+ Deny from all -+ Allow from localhost ++ Require ip 127.0.0.1 </Directory> |