#
# gopherd.conf,v 3.25 1995/02/13 19:08:23 lindner Exp
#
#
# An example gopherd.conf file
#
#---------------------------------------------------------------------
# The 'Canonical' name for this gopher server, if different from the hostname
#
# format is:
#
# "hostalias: <hostname alias>"
#hostalias: gopher.turnip.com
#---------------------------------------------------------------------
# How long do we honor .cache and .cache+ files for directories?
#
# Format is
# cachetime: <time in seconds>
#
Cachetime: 180
#---------------------------------------------------------------------
# File decoders. Run the given program on the file with the specific
# extension.
#
decoder: .Z /usr/ucb/zcat
decoder: .gz /usr/gnu/bin/zcat
#decoder: .adpcm /usr/openwin/bin/adpcm_dec
#decoder: .z /usr/gnu/bin/zcat
#---------------------------------------------------------------------
# Pid directory.. This is a scratch directory for concurrent session load
# limiting.. Needs to be inside your gopher-data directory if running
# chrooted. This stuff is very beta right now.
#
#PIDS_Directory: /pids
#---------------------------------------------------------------------
# Map filename extensions to gopher-types
#
# Format is
# viewext: <extension> <gophertype> <pfx> <gopher+type> [ISO langauge]
#
# Text files
viewext: .txt 0 0 Text/plain En_US
viewext: .msg 0 0 Text/plain En_US
#viewext: .doc 0 0 Text/plain En_US
viewext: .notes 0 0 Text/plain En_US
viewext: .readme 0 0 Text/plain En_US
# Different Languages
viewext: .txt.english 0 0 Text/plain En_GB
viewext: .txt.spanish 0 0 Text/plain Es_ES
viewext: .txt.portuguese 0 0 Text/plain Pt_PT
viewext: .txt.german 0 0 Text/plain De_DE
viewext: .txt.french 0 0 Text/plain Fr_FR
# Macintosh hqx files
viewext: .hqx 4 0 application/mac-binhex40
# Graphics file formats
viewext: .gif I 9 image/gif
viewext: .jpg I 9 image/JPEG
viewext: .tif I 9 image/tiff
# Sounds
viewext: .au s s audio/basic
viewext: .snd s s audio/basic
viewext: .wav s s audio/microsoft-wave
viewext: .mod s s audio/soundtracker
# Movies
viewext: .mov ; 9 video/quicktime
viewext: .mpg ; 9 video/mpeg
#
# Binary files..
#
viewext: .zip 5 9 application/zip
viewext: .arj 5 9 application/x-arj
viewext: .zoo 5 9 application/x-zoo
viewext: .arc 5 9 application/x-arc
viewext: .lzh 5 9 application/x-lzh
viewext: .lha 5 9 application/x-lha
viewext: .dms 5 9 application/x-dms
viewext: .tar.Z 9 9 application/x-tarZ
viewext: .tar 9 9 application/x-tar
viewext: .exe 5 9 application/x-pcexe
viewext: .bck 9 9 application/x-bck
viewext: .sav 9 9 application/x-saveset
viewext: .ps 0 9 application/postscript
viewext: .tex 0 0 application/x-tex
viewext: .dvi 0 9 application/x-dvi
viewext: .troff 0 0 Text/x-troff
viewext: .shar 0 0 application/x-shell-archive
#
# These are defined by IANA..
#
viewext: .rtf 0 0 application/rtf
viewext: .word 0 0 application/MSWord
viewext: .mw 0 0 application/MacWriteII
viewext: .wp 0 0 application/dca-rft
viewext: .rch 0 0 Text/richtext
viewext: .wri 9 9 application/Microsoft-write
viewext: .gd 1 0 application/gopher-menu
viewext: .gpd 1 0 application/gopher+-menu
#
#
viewext: .mindex 7 mindex: application/gopher-menu
viewext: .src 7 waissrc: Directory
viewext: .html h 0 text/html
#
# These are for the experimental gview
#
#viewext: .gview 1 1 Directory+/gview
#blockext: .spot GVIEWSPOT
#
# Map files to certain blocks
#
blockext: .abstract ABSTRACT
blockext: .keywords KEYWORDS
blockext: .ask ASK
#
# Find out what a file is by looking at the contents
# (Not implemented yet...)
#
#magic 0 GIF 9 I Gif
#magic 0 snd s s audio/basic
#
# Note that mail spool files are still done by the server
#
#
# Trash we never want to see (Note that it checks from the end)
# so you can ignore anything with a certain extension.
# (like emacs backup files)
#
ignore: lost+found
ignore: lib
ignore: bin
ignore: etc
ignore: dev
ignore: ~
ignore: .cache
ignore: .cache+
ignore: .forward
ignore: .message
ignore: .hushlogin
ignore: .kermrc
ignore: .notar
ignore: .where
#
# ignore_patt uses regular expressions to ignore files. See the man page
# for ed(1)
#
ignore_patt: ^core$
ignore_patt: ^usr$
ignore_patt: ^tmp$
#
# Regular expressions for splitting files into multiple parts..
#
filesep: ^----------------------------------------------
#
# A reference to another file
# If the filename doesn't begin with a slash then the system will look
# in the default SERVERDIR
#
include: ./gopherdlocal.conf
#
# Scripts that can automatically generate blocks..
#
#BlockScript: ABSTRACT /bin/autoabstract
#BlockScript: KEYWORDS /bin/autokeywords
MaxConnections: 20
.
Response:
text/plain