httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@beach.w3.org>
Subject patch for srm.conf-dist
Date Fri, 18 Aug 1995 03:55:27 GMT
Here's what I needed to change (of what I think should be the default).
Note that two changes are bug fixes.

.....Roy
===================================================================
*** srm.conf-dist       Mon Jul 31 17:37:56 1995
--- srm.conf    Thu Aug 17 17:53:19 1995
***************
*** 31,46 ****
  # AddIcon tells the server which icon to show for different files or filename
  # extensions
  
  AddIconByType (TXT,/icons/text.gif) text/*
  AddIconByType (IMG,/icons/image2.gif) image/*
  AddIconByType (SND,/icons/sound2.gif) audio/*
  AddIcon /icons/movie.gif .mpg .qt
  AddIcon /icons/binary.gif .bin   
  AddIcon /icons/burst.gif .wrl    
  AddIcon /icons/binhex.gif .hqx .sit
  AddIcon /icons/uu.gif .uu 
! AddIcon /icons/tar.gif .tar.gz  .tar.Z
! AddIcon /icons/compressed.gif .gz .Z  
  AddIcon /icons/back.gif ..
  AddIcon /icons/dir.gif ^^DIRECTORY^^
  AddIcon /icons/blank.gif ^^BLANKICON^^
--- 31,48 ----
  # AddIcon tells the server which icon to show for different files or filename
  # extensions
  
+ AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  AddIconByType (TXT,/icons/text.gif) text/*
  AddIconByType (IMG,/icons/image2.gif) image/*
  AddIconByType (SND,/icons/sound2.gif) audio/*
+ AddIconByType (VID,/icons/movie.gif) video/*
+ AddIcon /icons/text.gif .ps .shtml
  AddIcon /icons/movie.gif .mpg .qt
  AddIcon /icons/binary.gif .bin   
  AddIcon /icons/burst.gif .wrl    
  AddIcon /icons/binhex.gif .hqx .sit
  AddIcon /icons/uu.gif .uu 
! AddIcon /icons/tar.gif .tar  .tar
  AddIcon /icons/back.gif ..
  AddIcon /icons/dir.gif ^^DIRECTORY^^
  AddIcon /icons/blank.gif ^^BLANKICON^^
***************
*** 48,54 ****
  # DefaultIcon is which icon to show for files which do not have an icon
  # explicitly set.
  
! DefaultIcon /icons/unknown.xbm
  
  # AddDescription allows you to place a short description after a file in
  # server-generated indexes.
--- 50,56 ----
  # DefaultIcon is which icon to show for files which do not have an icon
  # explicitly set.
  
! DefaultIcon /icons/unknown.gif
  
  # AddDescription allows you to place a short description after a file in
  # server-generated indexes.
***************
*** 69,75 ****
  # IndexIgnore is a set of filenames which directory indexing should ignore
  # Format: IndexIgnore name1 name2...
  
! IndexIgnore */.??* *~ *# */HEADER* */README*
  
  # AccessFileName: The name of the file to look for in each directory
  # for access control information.
--- 71,77 ----
  # IndexIgnore is a set of filenames which directory indexing should ignore
  # Format: IndexIgnore name1 name2...
  
! IndexIgnore */.??* *~ *# */HEADER* */README* */RCS
  
  # AccessFileName: The name of the file to look for in each directory
  # for access control information.
***************
*** 84,91 ****
  # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  # information on the fly. Note: Not all browsers support this.
  
! #AddEncoding x-compress Z
! #AddEncoding x-gzip gz
  
  # AddLanguage allows you to specify the language of a document. You can
  # then use content negotiation to give a browser a file in a language
--- 86,93 ----
  # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  # information on the fly. Note: Not all browsers support this.
  
! AddEncoding x-compress Z
! AddEncoding x-gzip gz
  
  # AddLanguage allows you to specify the language of a document. You can
  # then use content negotiation to give a browser a file in a language

Mime
View raw message