Re: how to allow downloading a .map file

This is a discussion on Re: how to allow downloading a .map file within the Linux Web Servers forums, part of the Web Server and Related Forums category; Gandalf Parker wrote: > Apologies if this is RTFM stupid.... > > I have a site for a popular strategy ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-04-2004
jslive@gmail.com
 
Posts: n/a
Default Re: how to allow downloading a .map file

Gandalf Parker wrote:
> Apologies if this is RTFM stupid....
>
> I have a site for a popular strategy game (Dominions 2) which wants

to be
> able to offer the games map files as nightly randomly-generated

variations.
> The .tga images are ok but for some of the popular .tga he wants to

simply
> generate the text .map files so people can click on them and get the
> download popup.
>
> Unfortunately Apache (debian linux in case it matters) is treating

them as
> html map files. Is there a way by .htaccess or http.conf to set a
> particular directory as treating .map files as .txt files?


Remove any AddType or AddHandler referring to .map and add
AddType text/plain .map

Joshua

  #2 (permalink)  
Old 08-05-2004
Gandalf Parker
 
Posts: n/a
Default Re: how to allow downloading a .map file

jslive@gmail.com wrote in news:cer93f$2lg@odak26.prod.google.com:

> Gandalf Parker wrote:
>>
>> Unfortunately Apache (debian linux in case it matters) is treating

> them as
>> html map files. Is there a way by .htaccess or http.conf to set a
>> particular directory as treating .map files as .txt files?

>
> Remove any AddType or AddHandler referring to .map and add
> AddType text/plain .map


THanks.
I should have added. I was hoping for something spcific to a directory so
that I didnt have to break map files for the whole machine.

Gandalf Parker
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:52 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0