On Fri, 21 Jul 2006, Everett, Vernon wrote:
Hi all
I am installing a new Hobbit server, running 4.1.2p1 on Solaris 10 with Apache 2.2.0 It's starting to look good. I get the main hobbit page come up, and many green faces smiling at me. However, whenever I click on a face, or any menu option that runs a script, my browser opens a dialogue box and wants to start a download. :-(
When I go to the Hobbit home page with the same browser, it all works OK, so I am certain it's either a stuff-up with my Hobbit install, or an Apache server config problem. Everything in the ~hobbit/cgi-* is readable and executable by all.
What's happening here? Have I missed something?
You need to configure apache so that it knows that the cgi directories are indeed just that :)
Something like this
ScriptAlias /hobbit-cgi/ "/usr/lib/hobbit/cgi-bin/" <Directory "/usr/lib/hobbit/cgi-bin"> AllowOverride None Options ExecCGI Includes </Directory> ScriptAlias /hobbit-seccgi/ "/usr/lib/hobbit/cgi-secure/" <Directory "/usr/lib/hobbit/cgi-secure"> AllowOverride None Options ExecCGI Includes </Directory>
-- Kolbjørn Barmen UNINETT Driftsenter