diff options
author | ivan <ivan> | 2008-04-02 17:26:22 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-02 17:26:22 +0000 |
commit | 1c2b66d944840d931d219142fa166a99ccb95d92 (patch) | |
tree | 0e12a3cf41f7bb9bc6c8cb6fb6fe09c045663e53 /htetc | |
parent | dec6029a770e07d3485e9ebd1549bd52c71220e8 (diff) |
template AuthUserFile htpasswd to be in FREESIDE_CONF dir instead of hardcoded location
Diffstat (limited to 'htetc')
-rw-r--r-- | htetc/freeside-base1.99.conf | 2 | ||||
-rw-r--r-- | htetc/freeside-base1.conf | 2 | ||||
-rw-r--r-- | htetc/freeside-base2.conf | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/htetc/freeside-base1.99.conf b/htetc/freeside-base1.99.conf index c1c187c8d..8e890e646 100644 --- a/htetc/freeside-base1.99.conf +++ b/htetc/freeside-base1.99.conf @@ -11,7 +11,7 @@ PerlRequire "%%%MASON_HANDLER%%%" <Directory %%%FREESIDE_DOCUMENT_ROOT%%%> AuthName Freeside AuthType Basic -AuthUserFile /usr/local/etc/freeside/htpasswd +AuthUserFile %%%FREESIDE_CONF%%%/htpasswd require valid-user <Files ~ (\.cgi|\.html)> SetHandler perl-script diff --git a/htetc/freeside-base1.conf b/htetc/freeside-base1.conf index 3f6bd0ee3..73962a721 100644 --- a/htetc/freeside-base1.conf +++ b/htetc/freeside-base1.conf @@ -5,7 +5,7 @@ PerlModule HTML::Mason <Directory %%%FREESIDE_DOCUMENT_ROOT%%%> AuthName Freeside AuthType Basic -AuthUserFile /usr/local/etc/freeside/htpasswd +AuthUserFile %%%FREESIDE_CONF%%%/htpasswd require valid-user <Files ~ (\.cgi|\.html)> AddHandler perl-script .cgi .html diff --git a/htetc/freeside-base2.conf b/htetc/freeside-base2.conf index 38f784068..6606129d9 100644 --- a/htetc/freeside-base2.conf +++ b/htetc/freeside-base2.conf @@ -11,7 +11,7 @@ PerlRequire "%%%MASON_HANDLER%%%" <Directory %%%FREESIDE_DOCUMENT_ROOT%%%> AuthName Freeside AuthType Basic -AuthUserFile /usr/local/etc/freeside/htpasswd +AuthUserFile %%%FREESIDE_CONF%%%/htpasswd require valid-user <Files ~ (\.cgi|\.html)> SetHandler perl-script |