##################################################################
# Configuration file for Discus attachment uploads
#
# You may freely modify this file, but be sure to look at all
# of the sections, because making any changes to this file could
# possibly create security holes on your server. Consequently,
# we recommend that ONLY EXPERIENCED USERS WITH KNOWLEDGE OF
# EXACTLY HOW THEIR SERVER IS SET UP SHOULD EDIT THIS FILE.
#
# As provided, this file is safe for all reasonable (read, all
# that are ever used) system configurations.
##################################################################
# Recognized MIME types for Discus attachment uploads
# The format is as follows for any line:
# MIME_TYPE icon extension
# You separate each field by one or more space characters.
# If you leave an extension blank, the default ".unk" extension
# will be added onto the file name that is supplied by the user's
# browser.
application/msword mime_msword.gif doc
application/vnd.ms-excel mime_msexcel.gif xls
audio/mid mime_midi.gif mid
audio/wav mime_wav.gif wav
application/x-zip-compressed mime_zip.gif zip
application/octet-stream mime_exe.gif
text/plain mime_txt.gif txt
text/html mime_html.gif html
application/x-msdownload mime_exe.gif
image/gif mime_gif.gif gif
image/jpeg mime_jpeg.gif jpg
image/pjpeg mime_jpeg.gif jpg
application/pdf mime_pdf.gif pdf
application/vnd.ms-powerpoint mime_msppt.gif ppt
application/ppt mime_msppt.gif ppt
application/rtf mime_msword.gif rtf
text/rtf mime_msword.gif rtf
text/richtext mime_msword.gif rtf
##################################################################
# Valid extensions -- these are the extensions that can be used
# for file names. Any other extensions are appended with ".unk"
# to keep people, for example, from uploading things to your
# server and then running them as programs. Any extensions that
# are specified above are automatically valid whether or not they
# are listed here.
txt
doc
xls
zip
mid
wav
html
htm
gif
jpg
pdf
ppt
rtf
##################################################################
# Server Side Includes -- files with the following extensions have
# server side includes (SSIs) removed from them. This keeps people
# from uploading files with SSIs and then being able to run
# arbitrary commands on your server. If you enable any other
# allowable extension for HTML files, be sure to add it here!
html
htm