Mercurial > p > roundup > code
comparison INSTALL.txt @ 359:3903aaaef4e1
Added samples for "external" CGI config
| author | Jürgen Hermann <jhermann@users.sourceforge.net> |
|---|---|
| date | Tue, 06 Nov 2001 22:22:20 +0000 |
| parents | ff35f683fc9d |
| children | 5a1c284dabea |
comparison
equal
deleted
inserted
replaced
| 358:3cc910586bde | 359:3903aaaef4e1 |
|---|---|
| 115 /home/httpd/html/roundup/roundup.cgi script will be treated as a CGI | 115 /home/httpd/html/roundup/roundup.cgi script will be treated as a CGI |
| 116 script. | 116 script. |
| 117 4. Re-start your apache to re-load the config if necessary. | 117 4. Re-start your apache to re-load the config if necessary. |
| 118 5. Load up the page "/roundup/roundup.cgi/<instance name>/index" where | 118 5. Load up the page "/roundup/roundup.cgi/<instance name>/index" where |
| 119 instance name is the name you nominated in ROUNDUP_INSTANCE_HOMES. | 119 instance name is the name you nominated in ROUNDUP_INSTANCE_HOMES. |
| 120 6. To use the CGI script unchanged, which allows much easier updates, | |
| 121 add these directives to your "httpd.conf": | |
| 122 SetEnv ROUNDUP_LOG "/var/log/roundup.log" | |
| 123 SetEnv ROUNDUP_INSTANCE_HOMES "Default=/usr/local/share/roundup" | |
| 124 SetEnv ROUNDUP_DEBUG "0" | |
| 125 7. On Windows, write a batch file "roundup.bat" similar to the one below | |
| 126 and place it into your cgi-bin directory: | |
| 127 @echo off | |
| 128 set ROUNDUP_LOG=c:\data\roundup\cgi.log | |
| 129 set ROUNDUP_INSTANCE_HOMES=Default=c:\data\roundup; | |
| 130 set ROUNDUP_DEBUG=0 | |
| 131 c:\Python21\python.exe c:\roundup\cgi-bin\roundup.cgi | |
| 120 | 132 |
