X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=36b8ae0e7c220d849cfa55c6e79e9e11351ca617;hb=8f6bfc01809119b3c7e90b1418650ea4a329cf49;hp=4bf7b44eac2506826f3f5c347327c91f82368f1a;hpb=f5266a4d07d116efd732f433d0f4f3a47b143a7d;p=freeside.git diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 4bf7b44ea..36b8ae0e7 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -5,17 +5,25 @@

Installation

Before installing, you need: Install the Freeside distribution: @@ -69,12 +114,23 @@ $ su
  • Run make aspdocs -
  • Copy aspdocs/ to your web server's document space. -
  • Create a Global directory, such as /usr/local/etc/freeside/asp-global/ -
  • Copy htetc/global.asa to the Global directory. +
  • Copy aspdocs/ to your web server's document space: +
    +cp aspdocs /usr/local/apache/htdocs/freeside-asp
    +
    +
  • Create a Global directory, such as /usr/local/etc/freeside/asp-global/: +
    +mkdir /usr/local/etc/freeside/asp-global/
    +chown freeside /usr/local/etc/freeside/asp-global/
    +
    +
  • Copy htetc/global.asa to the Global directory: +
    +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:
    -<Directory /usr/local/apache/htdocs/freeside-asp>
    +PerlModule Apache::ASP
    +<Directory /usr/local/apache/htdocs/freeside-asp>
     <Files ~ (\.cgi)>
     AddHandler perl-script .cgi
     PerlHandler Apache::ASP
    @@ -82,24 +138,27 @@ PerlHandler Apache::ASP
     <Perl>
     $MLDBM::RemoveTaint = 1;
     </Perl>
    -PerlSetVar Global /usr/local/etc/freeside/asp-global/
    +PerlSetVar Global /usr/local/etc/freeside/asp-global/
    +PerlSetVar Debug 2
     </Directory>
     
    +
  • (use version 1.0x - Freeside is not yet compatible with version 1.1x)
  • Run make masondocs
  • Copy masondocs/ to your web server's document space.
  • Copy htetc/handler.pl to your web server's configuration directory.
  • Edit handler.pl and set an appropriate data_dir, such as /usr/local/etc/freeside/mason-data
  • Configure Apache to use the handler.pl file and to execute .cgi files using HTML::Mason. For example:
    -<Directory /usr/local/apache/htdocs/freeside-mason>
    +PerlModule HTML::Mason
    +<Directory /usr/local/apache/htdocs/freeside-mason>
     <Files ~ (\.cgi)>
     AddHandler perl-script .cgi
     PerlHandler HTML::Mason
     </Files>
     <Perl>
    -require "/usr/local/apache/conf/handler.pl";
    +require "/usr/local/apache/conf/handler.pl";
     </Perl>
     </Directory>
     
    @@ -107,13 +166,38 @@ require "/usr/local/apache/conf/handler.pl";