diff options
author | ivan <ivan> | 2005-04-10 13:01:37 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-04-10 13:01:37 +0000 |
commit | 2980b268139ad6103eca9d1bf17408054235910c (patch) | |
tree | 55b24ee5fec71e427c2ef46a00e1657481ce02f4 /httemplate/docs | |
parent | f90fc72eeca928fe24b1e1629e8f4ad6d4663c55 (diff) |
add apache snippet to self-service install docs
Diffstat (limited to 'httemplate/docs')
-rw-r--r-- | httemplate/docs/selfservice.html | 7 |
1 files changed, 6 insertions, 1 deletions
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: <li>regcode.html - Registration code pre-signup <li>stateselect.html - State selection pre-signup </ul> - <li>Enable CGI execution for files with the `.cgi' extension. (with <a href="http://www.apache.org/docs/mod/mod_mime.html#addhandler">Apache</a>) + <li>Enable CGI execution for files with the `.cgi' extension. (with <a href="http://www.apache.org/docs/mod/mod_mime.html#addhandler">Apache</a>), for example: <pre> +#directory where selfservice .cgi scripts and .html templates are located +<Directory /var/www/selfservice> +AddHandler cgi-script .cgi +Options +ExecCGI +</Directory></pre> <li>Create the /usr/local/freeside directory on the external machine (owned by the freeside user). <li>touch /usr/local/freeside/selfservice_socket; chown freeside /usr/local/freeside/selfservice_socket; chmod 600 /usr/local/freeside/selfservice_socket <li>Use <a href="http://www.apache.org/docs/suexec.html">suEXEC</a> or <a href="http://www.perl.com/CPAN-local/doc/manual/html/pod/perlsec.html#Security_Bugs">setuid</a> to run signup.cgi, selfservice.cgi, agent.cgi and passwd.cgi as the freeside user. <b>Do not run your public web server as the freeside user!</b> |