X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=9da2de37fc9402847d46dc2a5ca717f07ce7a3d3;hp=36b8ae0e7c220d849cfa55c6e79e9e11351ca617;hb=1cd72a6f1bd5ca39410f525779f5ca4ee9228a1c;hpb=8f6bfc01809119b3c7e90b1418650ea4a329cf49 diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 36b8ae0e7..9da2de37f 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -3,9 +3,10 @@

Installation

+Note: Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.

Before installing, you need: @@ -71,17 +74,16 @@ Enter it again: Shall the new user be allowed to create databases? (y/n) y Shall the new user be allowed to create more new users? (y/n) n CREATE USER -
  • Edit the top-level Makefile:
  • Add the freeside database to your database engine: @@ -92,10 +94,9 @@ $ su
     $ su freeside
     $ createdb freeside
    -
  • Build and install the Perl modules:
     $ make perl-modules
    @@ -130,35 +131,43 @@ 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)>
    -AddHandler perl-script .cgi
    +<Files ~ (\.cgi|\.html)>
    +AddHandler perl-script .cgi .html
     PerlHandler Apache::ASP
     </Files>
     <Perl>
     $MLDBM::RemoveTaint = 1;
     </Perl>
     PerlSetVar Global /usr/local/etc/freeside/asp-global/
    -PerlSetVar Debug 2
    +PerlSetVar Debug 2
    +PerlSetVar RequestBinaryRead Off
    +# your freeside document root
    +PerlSetVar IncludesDir /usr/local/apache/htdocs/freeside-asp
     </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 +
    • Copy masondocs/ to your web server's document space. (For example: /usr/local/apache/htdocs/freeside-mason) +
    • Copy htetc/handler.pl to /usr/local/etc/freeside +
    • Edit handler.pl and: +
        +
      • set an appropriate comp_root, such as /usr/local/apache/htdocs/freeside-mason +
      • set an appropriate data_dir, such as /usr/local/etc/freeside/masondata +
      +
    • Configure Apache to use the handler.pl file and to execute .cgi files using HTML::Mason. For example:
       PerlModule HTML::Mason
       <Directory /usr/local/apache/htdocs/freeside-mason>
      -<Files ~ (\.cgi)>
      -AddHandler perl-script .cgi
      +<Files ~ (\.cgi|\.html)>
      +AddHandler perl-script .cgi .html
       PerlHandler HTML::Mason
       </Files>
       <Perl>
      -require "/usr/local/apache/conf/handler.pl";
      +require "/usr/local/etc/freeside/handler.pl";
       </Perl>
       </Directory>