| 1 |
Submitted by Grant D. Watson: |
| 2 |
---------------------------------------------------------- |
| 3 |
Windows Installation: |
| 4 |
|
| 5 |
Download the tar.gz version of the package from the website. Make sure you have Python 2.2 or above installed; if not, download and install it from http://www.python.org/. Unzip the package in "C:\Program Files" (or another suitable directory). |
| 6 |
|
| 7 |
In WordPad (_not_ Notepad) open "C:\Program Files\pygopherd\conf\pygopherd.conf". Modify the file as follows: |
| 8 |
- Set detach = no |
| 9 |
- Comment out the pidfile line |
| 10 |
- Set servertype = ThreadingTCPServer |
| 11 |
- Set usechroot = no |
| 12 |
- Comment out the setuid and setgid lines |
| 13 |
- Set root to something appropriate |
| 14 |
- Set mimetypes = conf/mime.types |
| 15 |
- Set logmethod = none |
| 16 |
|
| 17 |
To run the server, open a DOS prompt and type the following commands: |
| 18 |
c: |
| 19 |
cd "\Program Files\pygopherd" |
| 20 |
python bin\pygopherd conf\pygopherd.conf |
| 21 |
|
| 22 |
To end the server you must press Ctrl-Alt-Del and tell Windows to end the task. |