Mercurial > p > roundup > code
comparison doc/index.html @ 402:00f120add0f7
Some version number and documentation fixes.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 21 Nov 2001 23:42:54 +0000 |
| parents | 745f9cacfba0 |
| children | 9d97c1a4ddad |
comparison
equal
deleted
inserted
replaced
| 401:a930feb07dc4 | 402:00f120add0f7 |
|---|---|
| 207 *** command-line option | 207 *** command-line option |
| 208 </ol> | 208 </ol> |
| 209 | 209 |
| 210 <strong>Apache:</strong> | 210 <strong>Apache:</strong> |
| 211 <ol> | 211 <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 - | |
| 213 ROUNDUP_INSTANCE_HOMES needs to know about your instance. | 216 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 | 217 </li> |
| 215 <tt>/home/httpd/html/roundup/roundup.cgi</tt> script will be treated as a CGI | 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 | |
| 216 script. | 220 script. |
| 217 <li>Add the following to your <tt>/etc/httpd/conf/httpd.conf</tt>: | 221 </li> |
| 218 <pre> | 222 <li>Re-start your apache to re-load the config if necessary. |
| 219 ------8<------- snip here ------8<------- | 223 </li> |
| 220 RewriteEngine on | 224 <li>Load up the page "/roundup/roundup.cgi/<instance name>/index" where |
| 221 RewriteCond %{HTTP:Authorization} ^(.*) | 225 instance name is the name you nominated in ROUNDUP_INSTANCE_HOMES. |
| 222 RewriteRule ^/roundup/roundup.cgi(.*) /home/httpd/html/roundup/roundup.cgi$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] | 226 </li> |
| 223 ------8<------- snip here ------8<------- | 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" | |
| 224 </pre> | 233 </pre> |
| 225 note: the RewriteRule must be on one line - no breaks | 234 </li> |
| 226 <li>Re-start your apache to re-load the config | 235 <li>On Windows, write a batch file "roundup.bat" similar to the one below |
| 227 <li>Load up the page <tt>/roundup/roundup.cgi/<instance name>/index</tt> where | 236 and place it into your cgi-bin directory: |
| 228 instance name is the name you nominated in ROUNDUP_INSTANCE_HOMES. | 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> | |
| 229 </ol> | 245 </ol> |
| 246 | |
| 247 | |
| 230 | 248 |
| 231 | 249 |
| 232 <h2><a name="users">Users</a></h2> | 250 <h2><a name="users">Users</a></h2> |
| 233 | 251 |
| 234 <h3>Users and permissions</h3> | 252 <h3>Users and permissions</h3> |
| 1181 Go Ping, you rock! Also, go Bizar Software for letting me implement this | 1199 Go Ping, you rock! Also, go Bizar Software for letting me implement this |
| 1182 system on their time. | 1200 system on their time. |
| 1183 | 1201 |
| 1184 <p> </p> | 1202 <p> </p> |
| 1185 <hr> | 1203 <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 $ |
| 1187 <p> </p> | 1205 <p> </p> |
| 1188 | 1206 |
| 1189 </body></html> | 1207 </body></html> |
| 1190 | 1208 |
