Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: .tgz files



On Sat, 9 May 1998, urs roesch wrote:

> Scott Stone wrote:
> 
> > On Sat, 9 May 1998, Joe Marchak wrote:
> > > I've always wondered whether this was a bug ... on some sites the *.tgz
> > > files are recognized OK, and others do a screen dump.  This shift-key
> > > trick is great.  Thanks!
>  
> > I think it depends on the server sending the right MIME type.  You can
> > specify in apache's config files what mime types to send for what files.
> 
> The file is called mime.types and is in the apache configuration
> directory. Usally you run in the same problem as Jonathan when you try
> to download RPMs because they are registered as:
> 
> audio/x-pn-realaudio-plugin        rpm
> 
> I tried once to listen to the gimp.rpm ;-)
> 
> If the server supports the .htaccess files you can add MIME types to
> some areas of your website whitout bothering the admin just by adding
> the following line to .htaccess
> 
> AddType application/x-my_application      my_extension
> 
> and the server will send the appropriate header to the client.
> 

Apache supports this, to the best of my knowledge (just FYI for everyone).

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Linux Developer/Systems Administrator for Pacific HiTech, Inc. 
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


--------------------------------------------------------------
Next Nomikai: 15 May Fri, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30
Featuring Stone and Turnbull on .rpm and .deb packages
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links