diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-05-12 23:31:57 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:31:57 +0200 |
commit | b48f6cb313d338a6214cd56e4e45c7c64b7537c3 (patch) | |
tree | 742597036319417706c9f79df225cfbd47c62c3a /network/awstats/patches/httpd-awstats.conf.patch | |
parent | 4f593e6145ffc72d2387e25075915535d5401a70 (diff) | |
download | slackbuilds-b48f6cb313d338a6214cd56e4e45c7c64b7537c3.tar.gz slackbuilds-b48f6cb313d338a6214cd56e4e45c7c64b7537c3.tar.xz |
network/awstats: Added to 12.2 repository
Diffstat (limited to 'network/awstats/patches/httpd-awstats.conf.patch')
-rw-r--r-- | network/awstats/patches/httpd-awstats.conf.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/network/awstats/patches/httpd-awstats.conf.patch b/network/awstats/patches/httpd-awstats.conf.patch new file mode 100644 index 0000000000..da4edd5de2 --- /dev/null +++ b/network/awstats/patches/httpd-awstats.conf.patch @@ -0,0 +1,39 @@ +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 @@ + # +-# Content of this file, with correct values, can be automatically added to +-# your Apache server by using the AWStats configure.pl tool. +-# +- +-# + # 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. + # +-Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/" +-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/" ++ScriptAlias /awstats/ "@DOCROOT@/awstats/wwwroot/cgi-bin/" + + # + # This is to permit URL access to scripts/files in AWStats directory. + # +-<Directory "/usr/local/awstats/wwwroot"> ++<Directory "@DOCROOT@/awstats/wwwroot"> + Options None + AllowOverride None +- Order allow,deny +- Allow from all ++ Order deny,allow ++ Deny from all ++ Allow from localhost + </Directory> |