[TriLUG] Apache2 Problem, driving me nuts.

Joel Ebel jbebel at ncsu.edu
Sun Oct 2 10:20:33 EDT 2005


Try commenting out the following line in your httpd.conf

AddHandler imap-file map

That's telling the server to parse anything ending in .map as an 
imagemap file, which it isn't.

Joel

jaimie at trilug.org wrote:
> I need to change how files of a particular type are handled.
> 
> I have a server site that is being used to share some files. Many of 
> those files are files from an app called Manifold, which produces a GIS 
> map file with the extension .map.
> 
> When a user clicks on any .map file, they currently get the following:
> 
>  Menu for /maps/anyfile.map
>  [an internal server error occured]
> 
> If I use the context menu of whatever browser is being used to attempt 
> to download or save as, I just get a .htm file with the above as it's 
> content.
> 
> I would prefer that the user be prompted to download the file.
> 
> Can anyone give me a hand with this?
> 
> Jaimie Livingston
> 
> 



More information about the TriLUG mailing list