X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fselfservice.html;h=9dc8f2a5e47a81a24412dc673f496030ef1beb05;hb=0186436eb38e70da0a015e49dab67cec5f1a3467;hp=a4dc6aa782a0e048fec8c1a5fbb4c008d1279727;hpb=b8cfd0780aa40bb07f3215bf9cb58011f5e32a35;p=freeside.git
diff --git a/httemplate/docs/selfservice.html b/httemplate/docs/selfservice.html
index a4dc6aa78..9dc8f2a5e 100644
--- a/httemplate/docs/selfservice.html
+++ b/httemplate/docs/selfservice.html
@@ -14,24 +14,38 @@ machine, not the backend Freeside server. On the public machine, install:
Storable
Business-CreditCard
HTTP::BrowserDetect
+ HTML::Parser
FS::SelfService (copy the fs_selfservice/FS-SelfService directory to the external machine, then: perl Makefile.PL; make; make install)
- FS::SignupClient (copy the fs_signup/FS-SignupClient directory to the external machine, then: perl Makefile.PL; make; make install)
Then:
- Set the signup_server-default_agentnum configuration value to a default agent number.
-
- Set the signup_server-default_refnum to a default advertising source.
+
- Set the signup_server-default_refnum configuration value to a default advertising source.
+
- Set the signup_server-payby configuration value to the acceptable payment types for signups.
+
- Set the signup_server-realtime configuration value to run billing for signups immediately.
- Add the user `freeside' to the the external machine.
-
- Copy or symlink the
fs_signup/FS-SelfService/cgi/
directory into the web server's document space, for customer self-service and reseller access. Optionally, customize the .html templates.
- - Copy or symlink the
fs_signup/FS-SignupClient/cgi/
directory into the web server's document space, for signups. Optionally, customize the .html templates.
- - When linking to signup.cgi, you can include a referring custnum in the URL as follows:
http://public.web.server/path/signup.cgi?ref=1542
- - Enable CGI execution for files with the `.cgi' extension. (with Apache)
+
- Copy or symlink the
fs_selfservice/FS-SelfService/cgi/
directory into the web server's document space. Optionally, customize the .html templates. "Entry points" (useful places to link to) are:
+
+ - signup.cgi - Signup
+
- selfservice.cgi - Customer self-service
+
- agent.cgi - Reseller interface
+
- passwd.cgi - Simple password-changing interface
+
- promocode.html - Promotional code pre-signup
+
- regcode.html - Registration code pre-signup
+
- stateselect.html - State selection pre-signup
+
+ - 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/fs_signupd_socket; chown freeside /usr/local/freeside/fs_signupd_socket; chmod 600 /usr/local/freeside/fs_signupd_socket
-
- Use suEXEC or setuid (see install.html for details) to run signup.cgi, selfservice.cgi, agent.cgi and passwd.cgi as 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!
- Append the identity.pub from the freeside user on your freeside machine to the authorized_keys file of the newly created freeside user on the external machine(s).
-
- Run an instance of
freeside-selfservice-server user machine agentnum refnum
on the Freeside machine for each external machine.
+ - Run an instance of
freeside-selfservice-server user machine
on the Freeside machine for each external machine.
- user is a user from the mapsecrets file.
- machine is the name of the external machine.
@@ -41,8 +55,12 @@ Then:
Optional: