Apache configuration file for Apache::ASP-based Freeside
authorrsiddall <rsiddall>
Wed, 27 Jun 2007 18:24:50 +0000 (18:24 +0000)
committerrsiddall <rsiddall>
Wed, 27 Jun 2007 18:24:50 +0000 (18:24 +0000)
install/rpm/freeside-asp.conf [new file with mode: 0644]

diff --git a/install/rpm/freeside-asp.conf b/install/rpm/freeside-asp.conf
new file mode 100644 (file)
index 0000000..69ce694
--- /dev/null
@@ -0,0 +1,27 @@
+#
+# The following enables Freeside's Apache::ASP interface under mod_perl
+#
+
+Alias /freeside /var/www/freeside/apacheasp
+
+PerlModule Apache::ASP
+PerlRequire /usr/local/etc/freeside/handler.pl
+<Directory /var/www/freeside/apacheasp>
+<Files ~ (\.cgi|\.html)>
+AddHandler perl-script .cgi .html
+PerlResponseHandler Apache::ASP
+</Files>
+PerlSetVar Global /usr/local/etc/freeside/asp-global/
+PerlSetVar Debug 2
+PerlSetVar RequestBinaryRead Off
+# your freeside document root
+PerlSetVar IncludesDir /var/www/freeside/apacheasp
+#
+# Basic authentication
+#
+AuthName Freeside
+AuthType Basic
+AuthUserFile /usr/local/etc/freeside/htpasswd
+require valid-user
+</Directory>
+