projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e81089e
)
halfass v2 too
author
ivan
<ivan>
Mon, 22 Jan 2007 17:05:15 +0000
(17:05 +0000)
committer
ivan
<ivan>
Mon, 22 Jan 2007 17:05:15 +0000
(17:05 +0000)
Makefile
patch
|
blob
|
history
htetc/freeside-base1.99.conf
[new file with mode: 0644]
patch
|
blob
diff --git
a/Makefile
b/Makefile
index
4c23b8d
..
869b3b8
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,8
+19,11
@@
FREESIDE_EXPORT = /usr/local/etc/freeside
MASON_HANDLER = ${FREESIDE_CONF}/handler.pl
MASONDATA = ${FREESIDE_CACHE}/masondata
MASON_HANDLER = ${FREESIDE_CONF}/handler.pl
MASONDATA = ${FREESIDE_CACHE}/masondata
-#
yup
+#
mod_perl v1
APACHE_VERSION = 1
APACHE_VERSION = 1
+#mod_perl v2 prereleases up to and including 1.999_21
+#APACHE_VERSON = 1.99
+#mod_perl v2 proper and prereleases 1.999_22 and after
#APACHE_VERSION = 2
# only mason now
#APACHE_VERSION = 2
# only mason now
diff --git a/htetc/freeside-base1.99.conf
b/htetc/freeside-base1.99.conf
new file mode 100644
(file)
index 0000000..
c1c187c
--- /dev/null
+++ b/
htetc/freeside-base1.99.conf
@@ -0,0
+1,21
@@
+PerlModule Apache::compat
+
+#PerlModule Apache::DBI
+
+PerlModule HTML::Mason
+PerlSetVar MasonArgsMethod CGI
+PerlModule HTML::Mason::ApacheHandler
+
+PerlRequire "%%%MASON_HANDLER%%%"
+
+<Directory %%%FREESIDE_DOCUMENT_ROOT%%%>
+AuthName Freeside
+AuthType Basic
+AuthUserFile /usr/local/etc/freeside/htpasswd
+require valid-user
+<Files ~ (\.cgi|\.html)>
+SetHandler perl-script
+PerlHandler HTML::Mason
+</Files>
+</Directory>
+