Re: [greenstone-users] Install on CentOS 4 problem

From John R. McPherson
DateMon, 22 May 2006 20:20:21 +1200
Subject Re: [greenstone-users] Install on CentOS 4 problem
In-Reply-To (b8921a10605211605h4d0b8e1do4f0272231c381f55-mail-gmail-com)
On Mon, May 22, 2006 at 09:05:00AM +1000, Pete Januarius wrote:

> I then ran the install script and configured my Apache 2 server. Everything
> seemed to go ok until I trying accessing Greenstone with the url
> http://myserver/greenstone/cgi-bin/library

> My browser acted upon this as a binary file and gave me a download dialog
> box.

That means that apache isn't running the executable, but serving it up as
a plain file.
You are probably missing an apache config directive to tell it to run
programs in that directory. In your virtual host in the appropriate
apache config file, add something like:

ScriptAlias /greenstone/cgi-bin/ /usr/real/path/to/gsdl/cgi-bin/

John McPherson