diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2016-07-21 16:19:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-21 22:30:28 +0700 |
commit | 0033396c224c11993d48a192f9180c212758e85e (patch) | |
tree | 8f5e71ad129892dad45e62e76b2d4d1acf2691f3 /network/awstats/patches/httpd-awstats.conf.patch | |
parent | 90b6b88ebe7b3549499bd89d846a5d90c63f4afb (diff) | |
download | slackbuilds-0033396c224c11993d48a192f9180c212758e85e.tar.gz |
network/awstats: Updated for version 7.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/awstats/patches/httpd-awstats.conf.patch')
-rw-r--r-- | network/awstats/patches/httpd-awstats.conf.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/awstats/patches/httpd-awstats.conf.patch b/network/awstats/patches/httpd-awstats.conf.patch index 082e5e9eee..e555bda027 100644 --- a/network/awstats/patches/httpd-awstats.conf.patch +++ b/network/awstats/patches/httpd-awstats.conf.patch @@ -1,5 +1,5 @@ ---- tools/httpd_conf.orig 2013-11-03 16:35:52.000000000 -0600 -+++ tools/httpd_conf 2014-03-01 08:58:34.894297509 -0600 +--- tools/httpd_conf.orig 2016-07-21 17:38:42.889026388 +0700 ++++ tools/httpd_conf 2016-07-21 17:38:44.177011033 +0700 @@ -12,18 +12,20 @@ # 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. @@ -19,13 +19,13 @@ # -<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 FollowSymLinks ExecCGI AllowOverride None - Order allow,deny - Allow from all ++ AddHandler cgi-script pl ++ DirectoryIndex awstats.pl ++ Require all granted + Require ip 127.0.0.1 </Directory> |