From: ivan Date: Sun, 10 Apr 2005 13:01:37 +0000 (+0000) Subject: add apache snippet to self-service install docs X-Git-Tag: SQL_LEDGER_2_4_4~1^2~359 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=2980b268139ad6103eca9d1bf17408054235910c;p=freeside.git add apache snippet to self-service install docs --- diff --git a/httemplate/docs/selfservice.html b/httemplate/docs/selfservice.html index 34c2f8316..674b1fb6e 100644 --- a/httemplate/docs/selfservice.html +++ b/httemplate/docs/selfservice.html @@ -33,7 +33,12 @@ Then:
  • regcode.html - Registration code pre-signup
  • stateselect.html - State selection pre-signup -
  • Enable CGI execution for files with the `.cgi' extension. (with Apache) +
  • Enable CGI execution for files with the `.cgi' extension. (with Apache), for example:
    +#directory where selfservice .cgi scripts and .html templates are located
    +<Directory /var/www/selfservice>
    +AddHandler cgi-script .cgi
    +Options +ExecCGI
    +</Directory>
  • Create the /usr/local/freeside directory on the external machine (owned by the freeside user).
  • touch /usr/local/freeside/selfservice_socket; chown freeside /usr/local/freeside/selfservice_socket; chmod 600 /usr/local/freeside/selfservice_socket
  • Use suEXEC or setuid to run signup.cgi, selfservice.cgi, agent.cgi and passwd.cgi as the freeside user. Do not run your public web server as the freeside user!