[Top] [Prev] [Next] [Last] |
|
Appendix EDefault WWWWAIS Configuration
# WWWWAIS configuration file
# 9/14/94
# Kevin Hughes, kevinh@eit.com
# Documentation at http://www.eit.com/software/wwwwais/wwwwais.html
PageTitle "/usr/local/www/htdocs/search-title.html"
# If this is a string, it will be a title only.
# If it specifies an HTML file, this file will be prepended to wwwwais results.
SelfURL "/cgi-bin/search"
# The self-referencing URL for wwwwais.
MaxHits 40
# The maximum number of results to return.
SortType score
# How results are sorted. This can be "score", "lines", "bytes",
# "title", or "type".
AddrMask all
# Only addresses specified here will be allowed to use the gateway.
# For the above mask option, these rules apply:
# 1) You can use asterisks in specifying the string, at either
# ends of the string:
# "192.100.*", "*100*", "*2.100.2"
# 2) You can make lists of masks:
# "*192.58.2,*.2", "*.100,*171.128*", ".58.2,*100"
# 3) A mask without asterisks will match EXACTLY:
# "192.100.58.2"
# 4) Define as "all" to allow all sites.
SwishBin /usr/local/www/swish/swish
# The full path to your swish program.
SwishSource /usr/local/www/swish/cybernetic.swish
# The path to the Swish index file
UseIcons yes
# Define as "yes" or "no" if you do or don't want to use icons.
IconUrl /icons
# Where all your icons are kept.
TypeDef .html "HTML file" $ICONURL/layout.gif text/html
TypeDef .htm "HTML file" $ICONURL/layout.gif text/html
TypeDef .txt "text file" $ICONURL/text.gif text/plain
TypeDef .ps "PostScript file" $ICONURL/a.gif application/postscript
TypeDef .eps "PostScript file" $ICONURL/a.gif application/postscript
TypeDef .man "man page" $ICONURL/text.gif application/x-troff-man
TypeDef .gif "GIF image" $ICONURL/image2.gif image/gif
TypeDef .jpg "JPEG image" $ICONURL/image2.gif image/jpeg
TypeDef .pict "PICT image" $ICONURL/image2.gif image/x-pict
TypeDef .xbm "X bitmap image" $ICONURL/image2.gif image/x-xbitmap
TypeDef .au "Sun audio file" $ICONURL/sound2.gif audio/basic
TypeDef .snd "Mac audio file" $ICONURL/sound2.gif audio/basic
TypeDef .mpg "MPEG movie" $ICONURL/movie.gif video/mpeg
TypeDef .mov "QuickTime movie" $ICONURL/movie.gif video/quicktime
TypeDef .Z "compressed file" $ICONURL/compressed.gif application/compress
TypeDef .gz "compressed file" $ICONURL/compressed.gif application/gnuzip
TypeDef .zip "zipped file" $ICONURL/compressed.gif application/zip
TypeDef .uu "uuencoded file" $ICONURL/uuencoded.gif application/uudecode
TypeDef .hqx "Binhex file" $ICONURL/binhex.gif application/mac-binhex40
TypeDef .tar "tar'red file" $ICONURL/tar.gif application/x-tar
TypeDef .c "C source" $ICONURL/c.gif text/plain
TypeDef .pl "Perl source" $ICONURL/p.gif text/plain
TypeDef .py "Python source" $ICONURL/p.gif text/plain
TypeDef .tcl "TCL source" $ICONURL/script.gif text/plain
TypeDef .src "WAIS index" $ICONURL/index.gif text/plain
TypeDef .?? "unknown" $ICONURL/unknown.gif text/plain
# Information for figuring out file types based on suffix.
# Suffix matching is case insensitive.
# TypeDef .suffix "description" file://url.to.icon.for.this.type/ MIME-type
# You can use $ICONURL in the icon URL to substitute the root icon directory.
[Top] [Prev] [Next] [Last]
© 1997 C2Net International
Feedback: stronghold-docs@c2.net![]()