X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=463575c53391dd3d6897322ec0af5694282bb11d;hb=ead5b6fc593ed0d9777a2e390a761110f5731a28;hp=3c48a746f2aaa523f9116773ea373e3d2ebb00ed;hpb=c4d2226e0cc4bdd6d9f689b061b5f4f5b9609b0b;p=freeside.git diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 3c48a746f..463575c53 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -12,10 +12,10 @@ Before installing, you need:
--default-table-type=BDB
or --default-table-type=InnoDB
mysqld command-line option or by setting default-table-type=BDB
or default-table-type=InnoDB
in the my.cnf option file.
$ su freeside $ createdb freeside-
$ make perl-modules @@ -114,7 +113,10 @@ $ su
- Run make aspdocs -
- Copy aspdocs/ to your web server's document space. +
- 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/ @@ -126,9 +128,10 @@ 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 <Directory /usr/local/apache/htdocs/freeside-asp> -<Files ~ (\.cgi)> -AddHandler perl-script .cgi +<Files ~ (\.cgi|\.html)> +SetHandler perl-script PerlHandler Apache::ASP </Files> <Perl> @@ -140,20 +143,25 @@ PerlSetVar Debug 2-
- (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)> +SetHandler perl-script PerlHandler HTML::Mason </Files> <Perl> -require "/usr/local/apache/conf/handler.pl"; +require "/usr/local/etc/freeside/handler.pl"; </Perl> </Directory>