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/
  • Copy htetc/global.asa to the Global directory.
  • 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>
    
  • NOTE: Mason support is still a bit buggy in the 1.4.0 prereleases. This will be fixed before 1.4.0. You have been warned.
  • 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>