summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/docs/selfservice.html7
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
+&lt;Directory /var/www/selfservice&gt;
+AddHandler cgi-script .cgi
+Options +ExecCGI
+&lt;/Directory&gt;</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>