@@ -209,26 +209,44 @@ <h2><a name="startweb">Web Interface</a></h2>
209209
210210< strong > Apache:</ strong >
211211< ol >
212- < li > Make sure roundup.cgi is executable. Edit it at the top -
212+ < li > The CGI script is found in the cgi-bin directory of the roundup
213+ distribution.
214+ </ li >
215+ < li > Make sure roundup.cgi is executable. Edit it at the top -
213216 ROUNDUP_INSTANCE_HOMES needs to know about your instance.
214- < li > Edit your < tt > /etc/httpd/conf/httpd.conf</ tt > and make sure that the
215- < tt > /home/httpd/html/roundup/roundup.cgi</ tt > script will be treated as a CGI
217+ </ li >
218+ < li > Edit your /etc/httpd/conf/httpd.conf and make sure that the
219+ /home/httpd/html/roundup/roundup.cgi script will be treated as a CGI
216220 script.
217- < li > Add the following to your < tt > /etc/httpd/conf/httpd.conf</ tt > :
218- < pre >
219- ------8< ------- snip here ------8 < -------
220- RewriteEngine on
221- RewriteCond %{HTTP:Authorization} ^(.*)
222- RewriteRule ^/roundup/roundup.cgi(.*) /home/httpd/html/roundup/roundup.cgi$1 [e=HTTP_CGI_AUTHORIZATION:%1,t =application/x-httpd-cgi,l]
223- ------8< ------- snip here ------8< -------
224- </ pre >
225- note: the RewriteRule must be on one line - no breaks
226- < li > Re-start your apache to re-load the config
227- < li > Load up the page < tt > /roundup/roundup.cgi/<instance name>/index</ tt > where
221+ </ li >
222+ < li > Re-start your apache to re-load the config if necessary.
223+ </ li >
224+ < li > Load up the page "/roundup/roundup.cgi/< instance name > /index" where
228225 instance name is the name you nominated in ROUNDUP_INSTANCE_HOMES.
226+ </ li >
227+ < li > To use the CGI script unchanged, which allows much easier updates,
228+ add these directives to your "httpd.conf":
229+ < pre >
230+ SetEnv ROUNDUP_LOG "/var/log/roundup.log"
231+ SetEnv ROUNDUP_INSTANCE_HOMES "Default=/usr/local/share/roundup/instances/Default"
232+ SetEnv ROUNDUP_DEBUG "0"
233+ </ pre >
234+ </ li >
235+ < li > On Windows, write a batch file "roundup.bat" similar to the one below
236+ and place it into your cgi-bin directory:
237+ < pre >
238+ @echo off
239+ set ROUNDUP_LOG=c:\Python21\share\roundup\cgi.log
240+ set ROUNDUP_INSTANCE_HOMES=Default=c:\Python21\share\roundup\instances\Default;
241+ set ROUNDUP_DEBUG=0
242+ c:\Python21\python.exe c:\Python21\share\roundup\cgi-bin\roundup.cgi
243+ </ pre >
244+ </ li >
229245</ ol >
230246
231247
248+
249+
232250< h2 > < a name ="users "> Users</ a > </ h2 >
233251
234252< h3 > Users and permissions</ h3 >
@@ -1183,7 +1201,7 @@ <h1><a name="ack">Acknowledgements</a></h1>
11831201
11841202< p > </ p >
11851203< hr >
1186- $Id: index.html,v 1.18 2001-11-07 05:38:57 richard Exp $
1204+ $Id: index.html,v 1.19 2001-11-21 23:42:54 richard Exp $
11871205< p > </ p >
11881206
11891207</ body > </ html >
0 commit comments