Re: [greenstone-users] httpd.conf problem

From John R. McPherson
DateFri, 28 Jan 2005 22:03:24 +1300
Subject Re: [greenstone-users] httpd.conf problem
In-Reply-To (20050128054756-52287-qmail-web50908-mail-yahoo-com)
On Thu, Jan 27, 2005 at 09:47:56PM -0800, Don wrote:
> Hi,
> I trying to install Greenstone on a dedicated server
> in a "hosted"space. From the shell it appears to be
> working, but when I try to access it from my browser,
> I get binaries.

This means that apache is serving the library up as a static file
rather than executing it as a cgi program.

> ServerSignature On
> ErrorDocument 404 /404error.php
> Include etc/apache/totalapache.conf

Is that supposed to be /etc/apache/... (instead of etc/apache/...) ?

> Alias /gsdl/ "/home/www/exoticspaces/gsdl/"
> <Directory /home/www/exoticspaces/gsdl>
> Options Indexes MultiViews FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> ScriptAlias /gsdl/cgi-bin/
> "/home/www/exoticspaces/gsdl/cgi-bin/"
> <Directory /home/www/exoticspaces/gsdl/cgi-bin>
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
> </Directory>

Instead of "Options None", you probably want "Options ExecCGI".

Hope this helps
John McPherson