Installation

Before installing, you need: Install the Freeside distribution:
Apache::ASPMason
  • Run make aspdocs
  • Copy aspdocs/ to your web server's document space.
  • 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>
    <Files ~ (\.cgi)>
    AddHandler perl-script .cgi
    PerlHandler Apache::ASP
    </Files>
    <Perl>
    $MLDBM::RemoveTaint = 1;
    </Perl>
    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>
    <Files ~ (\.cgi)>
    AddHandler perl-script .cgi
    PerlHandler HTML::Mason
    </Files>
    <Perl>
    require "/usr/local/apache/conf/handler.pl";
    </Perl>
    </Directory>