freeside/httemplate/docs selfservice.html,1.6,1.7
ivan
ivan at pouncequick.420.am
Sun Apr 10 06:01:40 PDT 2005
Update of /home/cvs/cvsroot/freeside/httemplate/docs
In directory pouncequick:/tmp/cvs-serv21162
Modified Files:
selfservice.html
Log Message:
add apache snippet to self-service install docs
Index: selfservice.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/docs/selfservice.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- selfservice.html 30 Mar 2005 01:32:25 -0000 1.6
+++ selfservice.html 10 Apr 2005 13:01:37 -0000 1.7
@@ -33,7 +33,12 @@
<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>
More information about the freeside-commits
mailing list