Adding Coffeescript support to Apache

KevinF

Verified User
Joined
Mar 22, 2012
Messages
12
Greetings,

I was hoping someone could help me, I am trying to get a Coffeescript (http://coffeescript.org/) to work on my DA install. If I run the script though my console by invoking "/usr/local/bin/coffee myfile.coffee" it outputs fine. I have tried adding a handler in the control panel, but that only results in me downloading said file.

Thank you for your time.


With regards,
Kevin Felix
 

KevinF

Verified User
Joined
Mar 22, 2012
Messages
12
There is no official mimetype for Coffeescript. I have however tried defining it as json, javascript, plain text and nothing. Sadly, none of them seemed to work.
 
Top