Re: Learning Mathematica with neat projects
- To: mathgroup at smc.vnet.net
- Subject: [mg118448] Re: Learning Mathematica with neat projects
- From: Sol Lederman <sol.lederman at gmail.com>
- Date: Thu, 28 Apr 2011 06:36:43 -0400 (EDT)
John, Thanks for your help. I contacted my ISP, Hostgator, and learned that I could fix this myself by creating a .htaccess file in the root directory of the domain. So, I created a .htaccess file with this one line in it and good things happen now: AddType application/vnd.wolfram.mathematica nb Sol On Wed, Apr 27, 2011 at 3:37 AM, John Fultz <jfultz at wolfram.com> wrote: > I'm happy you've joined our community here, and I certainly wish you well > on > your many experiments. I wanted to hone in on one thing from your last > email > which might help... > > > For some reason I can't > > explain, you can't just click on the "curve stitch" link on the index > > page because it just shows the notebook source in the browser. > > The reason for this is because your web server is reporting the MIME type > of the > notebook as text/plain. If you can tweak the web server to report .nb > files as > application/vnd.wolfram.mathematica instead, then the notebook will load > directly in the plugin, if it's installed, or go through the browser's > download > mechanism if it's not. > > Sincerely, > > John Fultz > jfultz at wolfram.com > User Interface Group > Wolfram Research, Inc. >