From: ivan Date: Tue, 23 Mar 2004 03:29:40 +0000 (+0000) Subject: includes with Apache::ASP X-Git-Tag: NET_WHOIS_RAW_0_31~40 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=84d15a339737bd783b764c7f0d371084c2158ce7 includes with Apache::ASP --- diff --git a/htetc/global.asa b/htetc/global.asa index bb94b9268..193f997df 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -197,6 +197,7 @@ sub sprintAutoProfile { } sub include { + $_[0] =~ s(^/)(); $Response->Include(@_); } diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 0217c9085..5f2ca4ca6 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -131,6 +131,7 @@ cp htetc/global.asa /usr/local/etc/freeside/asp-global/global.asa
  • Configure Apache for the Global directory and to execute .cgi files using Apache::ASP. For example:
     PerlModule Apache::ASP
    +# your freeside document root
     <Directory /usr/local/apache/htdocs/freeside-asp>
     <Files ~ (\.cgi|\.html)>
     SetHandler perl-script
    @@ -142,6 +143,8 @@ $MLDBM::RemoveTaint = 1;
     PerlSetVar Global /usr/local/etc/freeside/asp-global/
     PerlSetVar Debug 2
     PerlSetVar RequestBinaryRead Off
    +# your freeside document root
    +PerlSetVar IncludesDir /usr/local/apache/htdocs/freeside-asp
     </Directory>
     
    diff --git a/httemplate/docs/upgrade10.html b/httemplate/docs/upgrade10.html index 6f7924fb6..14e308544 100644 --- a/httemplate/docs/upgrade10.html +++ b/httemplate/docs/upgrade10.html @@ -4,7 +4,7 @@ this is incomplete install DBD::Pg 1.32 (or, if you're using a Perl version before 5.6, you could try installing DBD::Pg 1.22 with this patch and commenting out the "use DBD::Pg 1.32" at the top of DBIx/DBSchema/DBD/Pg.pm) install DBIx::DBSchema 0.23 install Net::SSH 0.08 -- If using Apache::ASP, add PerlSetVar RequestBinaryRead Off to your Apache configuration and make sure you are using Apache::ASP minimum version 2.55. +- If using Apache::ASP, add PerlSetVar RequestBinaryRead Off and PerlSetVar IncludesDir /your/freeside/document/root/ to your Apache configuration and make sure you are using Apache::ASP minimum version 2.55. install NetAddr::IP, Chart::Base, IPC::ShareLite and Locale::SubCountry