diff options
author | ivan <ivan> | 2011-04-18 00:11:28 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-18 00:11:28 +0000 |
commit | 2e371325e229755e33c04b8a173cd456944698ba (patch) | |
tree | 72d5ef118b135b90439226505a1351dcd2b887ba | |
parent | 12887c5dd3c09059837a82c4f95d6c0ab0632c66 (diff) |
remove support for mod_perl before v2
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | htetc/freeside-base1.99.conf | 38 | ||||
-rw-r--r-- | htetc/freeside-base1.conf | 35 |
3 files changed, 1 insertions, 81 deletions
@@ -26,13 +26,6 @@ MASONDATA = ${FREESIDE_CACHE}/masondata #package maintainers DIST_CONF = ${FREESIDE_CONF}/default_conf -#mod_perl v1 -#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 - #deb FREESIDE_DOCUMENT_ROOT = /var/www/freeside #redhat, fedora, mandrake @@ -261,7 +254,7 @@ install-init: install-apache: [ -e ${APACHE_CONF}/freeside-base.conf ] && rm ${APACHE_CONF}/freeside-base.conf || true [ -d ${APACHE_CONF} ] && \ - ( install -o root -m 755 htetc/freeside-base${APACHE_VERSION}.conf ${APACHE_CONF} && \ + ( install -o root -m 755 htetc/freeside-base2.conf ${APACHE_CONF} && \ ( [ ${RT_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-rt.conf ${APACHE_CONF} || true ) && \ ( [ ${TORRUS_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-torrus.conf ${APACHE_CONF} || true ) && \ perl -p -i -e "\ diff --git a/htetc/freeside-base1.99.conf b/htetc/freeside-base1.99.conf deleted file mode 100644 index f3f767651..000000000 --- a/htetc/freeside-base1.99.conf +++ /dev/null @@ -1,38 +0,0 @@ -PerlModule Apache::compat - -#PerlModule Apache::DBI - -PerlModule HTML::Mason -PerlSetVar MasonArgsMethod CGI -PerlModule HTML::Mason::ApacheHandler - -PerlRequire "%%%MASON_HANDLER%%%" - -#Locale::SubCountry -AddDefaultCharset ISO-8859-1 - -<Directory %%%FREESIDE_DOCUMENT_ROOT%%%> -AuthName Freeside -AuthType Basic -AuthUserFile %%%FREESIDE_CONF%%%/htpasswd -require valid-user -<Files ~ "(\.cgi|\.html)$"> -SetHandler perl-script -PerlHandler HTML::Mason -</Files> -</Directory> -<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Helpers/> -SetHandler perl-script -PerlHandler HTML::Mason -</Directory> - -<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/loginout> -AuthName Freeside -AuthType Basic -AuthUserFile %%%FREESIDE_CONF%%%/htpasswd.logout -require valid-user -<Files ~ "(\.cgi|\.html)$"> -SetHandler default-handler -</Files> -</Directory> - diff --git a/htetc/freeside-base1.conf b/htetc/freeside-base1.conf deleted file mode 100644 index 16e1e147d..000000000 --- a/htetc/freeside-base1.conf +++ /dev/null @@ -1,35 +0,0 @@ -#PerlModule Apache::DBI - -PerlModule HTML::Mason - -#Locale::SubCountry -AddDefaultCharset ISO-8859-1 - -<Directory %%%FREESIDE_DOCUMENT_ROOT%%%> -AuthName Freeside -AuthType Basic -AuthUserFile %%%FREESIDE_CONF%%%/htpasswd -require valid-user -<Files ~ "(\.cgi|\.html)$"> -AddHandler perl-script .cgi .html -PerlHandler HTML::Mason -</Files> -</Directory> -<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Helpers/> -SetHandler perl-script -PerlHandler HTML::Mason -</Directory> -<Perl> -require "%%%MASON_HANDLER%%%"; -</Perl> - -<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/loginout> -AuthName Freeside -AuthType Basic -AuthUserFile %%%FREESIDE_CONF%%%/htpasswd.logout -require valid-user -<Files ~ "(\.cgi|\.html)$"> -SetHandler default-handler -</Files> -</Directory> - |