home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / gopher+1.2b4 / gopherd / gopherd.conf < prev    next >
Encoding:
Text File  |  1993-04-15  |  3.9 KB  |  200 lines

  1. #
  2. # gopherd.conf,v 3.5 1993/04/15 21:57:26 lindner Exp
  3. #
  4.  
  5. #
  6. # An example gopherd.conf file
  7. #
  8.  
  9. #
  10. # Hostalias line,
  11. #
  12. #  format is:
  13. #
  14. #  "hostalias: <hostname alias>"
  15. #hostalias: gopher.turnip.com
  16.  
  17. #
  18. # Administrator line,
  19. #
  20. # format is:
  21. # "Admin:" <any text thing, usually a name/phone fax,etc>
  22. #
  23. # "AdminEmail:" <RFC-822 Email address>
  24.  
  25. Admin: Bob Bagel, Turnip Gopher support 1-800-555-1212 
  26. AdminEmail: gopher@turnip.com
  27.  
  28. #
  29. # Site
  30. #
  31. #Site: the name of the site
  32. #Org: organization or group owning the site
  33. #Loc: city, state, country
  34. #Geog: latitude longitude
  35. #Language: default language of items on the server
  36. #TZ: timezone as gmt-offset
  37.  
  38. Site: Turnip Research and Development labs
  39. Org: Turnip Incorporated
  40. Loc: Minneapolis, MN, USA
  41. Geog: 44 58 48 N 93 15 49 W
  42. Language: En_US
  43. #TZ: -6
  44. #
  45. # Map filename extensions to gopher-types
  46. #
  47. # Format is 
  48. # "viewext: <extension> <gophertype> <pfx> <gopher+type> [ISO langauge]
  49. #
  50.  
  51. # Different Languages
  52. #
  53. # The following will probably be text/plain soon
  54. #
  55. viewext: .txt.spanish 0 0 Text Es_ES
  56. viewext: .txt.german 0 0 Text De_DE
  57. viewext: .txt.french 0 0 Text Fr_FR
  58.  
  59. viewext: .hqx 4 0 file/hqx
  60.  
  61. #
  62. # Telnet file formats
  63. #
  64. viewext: .telnet 8 0 terminal/telnet
  65. viewext: .tn3270 T 0 terminal/tn3270
  66.  
  67. #
  68. # Graphics file formats
  69. #
  70. viewext: .gif I 9 image/gif
  71. viewext: .tiff I 9 image/TIFF
  72. viewext: .jpg I 9 image/JPEG
  73.  
  74. #
  75. # These are not IANA approved
  76. #
  77. viewext: .pcx I 9 image/pcx
  78. viewext: .pict I 9 image/PICT
  79. viewext: .ppm I 9 image/ppm
  80. viewext: .pgm I 9 image/pgm
  81. viewext: .pbm I 9 image/pgm
  82. #
  83. # Sounds
  84. #
  85. viewext: .au s s audio/mulaw
  86. viewext: .snd s s audio/mulaw
  87. viewext: .wav s s audio/wave
  88.  
  89. #
  90. # Movies (only mpeg works for IANA
  91. #
  92. viewext: .mov 9 9 video/quicktime
  93. viewext: .mpg 9 9 video/mpeg
  94.  
  95. #
  96. # Binary files, these need changing for the encoding method
  97. # plus they'll probably become application/octet-stream
  98. #
  99. viewext: .tar.Z 9 9 file/tar.Z
  100. viewext: .tar 9 9 file/tar
  101. viewext: .zip 5 9 file/PKzip
  102. viewext: .zoo 5 9 file/Zoo
  103. viewext: .arc 5 9 file/Arc
  104. viewext: .lzh 5 9 file/Lharc
  105. viewext: .exe 5 9 file/PCEXE
  106. viewext: .mcb 9 9 file/MacBinary
  107. viewext: .uu 9 9 file/uuencode
  108.  
  109. #
  110. # Various forms of text
  111. #
  112.  
  113. #
  114. # This should be application/postscript
  115. #
  116. viewext: .ps 0 0 Text/postscript
  117. viewext: .tex 0 0 Text/tex
  118. viewext: .dvi 0 9 Text/dvi
  119. viewext: .troff 0 0 Text/troff
  120. viewext: .unicode 0 0 Text/unicode
  121. viewext: .sjis 0 0 Text/sjis
  122. viewext: .jis 0 0 Text/jis
  123. viewext: .euc 0 0 Text/jis
  124. viewext: .big5 0 0 Text/big-5
  125. viewext: .rtf 0 0 Text/rtf
  126. viewext: .word5 0 0 Text/MSWord5
  127. viewext: .word4 0 0 Text/MSWord4
  128. viewext: .mw 0 0 Text/MacWrite
  129. viewext: .wp 0 0 Text/WordPerfect51
  130. viewext: .rch 0 0 Text/richtext
  131.  
  132. viewext: .smell 9 9 smell/funky
  133.  
  134. #
  135. #
  136. viewext: .mindex 7 mindex: Directory
  137. viewext: .src 7 waissrc: Directory
  138. viewext: .html h GET /h application/WWW
  139.  
  140.  
  141.  
  142. #
  143. # These are for the experimental gview
  144. #
  145. viewext: .gview 1 1 Directory+/gview
  146. blockext: .spot GVIEWSPOT
  147.  
  148. #
  149. # Map files to certain blocks
  150.  
  151. blockext: .abstract ABSTRACT
  152. blockext: .ask ASK
  153.  
  154. #
  155. # Find out what a file is by looking at the contents
  156. # (Not implemented yet...)
  157. #
  158. #magic 0 GIF 9 I Gif
  159. #magic 0 snd s s audio/mulaw
  160.  
  161. #
  162. # Note that mail spool files are still done by the server
  163. #
  164.  
  165. #
  166. # Trash we never want to see (Note that it checks from the end)
  167. # so you can ignore anything with a certain extension.
  168. # (like emacs backup files)
  169. #
  170. ignore: lost+found
  171. ignore: lib
  172. ignore: bin
  173. ignore: core
  174. ignore: tmp
  175. ignore: etc
  176. ignore: usr
  177. ignore: dev
  178. ignore: ~
  179. ignore: .cache
  180. ignore: .cache+
  181.  
  182. #
  183. #
  184. # BummerMsg is a message that is displayed when there isn't proper
  185. # access..
  186. #
  187. BummerMsg: Sorry Dude, we don't allow off-site access to this server
  188.  
  189. #
  190. #  Note that the default "default" entry is free access
  191. #  Also note that the values you put for an entry modify the "default" values
  192. #access: default         !browse,!read,search
  193.  
  194. #
  195. # The secureusers: specifies a ticket file to use for ADMIT1 authentication
  196. #
  197. #secureusers: /usr/local/etc/gopherusers
  198.