You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <Ma...@mch.sni.de> on 1997/10/19 22:44:28 UTC

AddTypes for *.exe and *.zip to apache.conf?

In apache.conf, there's no AddType definition for zip and exe files.
As a consequence, the directory listing of dev.apache.org/httpd/dist
shows the '?'-icons (bigger in size).

How about
-AddIcon /icons/binary.gif .bin
+AddIcon /icons/binary.gif .bin .exe

-AddIcon /icons/compressed.gif .gz .Z
+AddIcon /icons/compressed.gif .gz .Z .zip
or
+AddIconByType (ZIP,/icons/compressed.gif) application/zip
+AddIconByType (BIN,/icons/binary.gif) application/octet-stream

    Martin

-- 
| S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Re: AddTypes for *.exe and *.zip to apache.conf?

Posted by Ben Laurie <be...@algroup.co.uk>.
Martin Kraemer wrote:
> 
> In apache.conf, there's no AddType definition for zip and exe files.
> As a consequence, the directory listing of dev.apache.org/httpd/dist
> shows the '?'-icons (bigger in size).

+1

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Re: AddTypes for *.exe and *.zip to apache.conf?

Posted by Dean Gaudet <dg...@arctic.org>.
+1

On Mon, 20 Oct 1997, Martin Kraemer wrote:

> Here are a couple of additional .gifs in the smaller 16x16 size used on
> www.apache.org:
>      doc.gif
>      key.gif
>      patch.gif
>      ps.gif
> 
> They may not be perfectly styled, but they complement the other 16x16
> icons. BTW: Was it ever planned to add the 16x16 icons to the distribution,
> e.g., in a subdirectory ../icons/16x16/ ?
> 
> How I use them here:
> 
> > # For the ascii PGP signature files, display the key icon and Lynx prefix:
> > AddAlt "KEY" .pgp-KEYS .asc
> > # Patch files get an appropriate icon and Lynx prefix
> > AddAlt "PCH" .patch
> >
> > AddIcon /icons/new/key.gif .asc
> > AddIcon /icons/new/patch.gif .patch
> > AddIcon /icons/new/ps.gif .ps .ai .eps
> > AddIconByType (DOC,/icons/new/doc.gif) application/msword
> 
>     Martin
> -- 
> | S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
> 

Re: AddTypes for *.exe and *.zip to apache.conf?

Posted by Martin Kraemer <Ma...@mch.sni.de>.
Here are a couple of additional .gifs in the smaller 16x16 size used on
www.apache.org:
     doc.gif
     key.gif
     patch.gif
     ps.gif

They may not be perfectly styled, but they complement the other 16x16
icons. BTW: Was it ever planned to add the 16x16 icons to the distribution,
e.g., in a subdirectory ../icons/16x16/ ?

How I use them here:

> # For the ascii PGP signature files, display the key icon and Lynx prefix:
> AddAlt "KEY" .pgp-KEYS .asc
> # Patch files get an appropriate icon and Lynx prefix
> AddAlt "PCH" .patch
>
> AddIcon /icons/new/key.gif .asc
> AddIcon /icons/new/patch.gif .patch
> AddIcon /icons/new/ps.gif .ps .ai .eps
> AddIconByType (DOC,/icons/new/doc.gif) application/msword

    Martin
-- 
| S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request