|Date||Tue, 23 May 2006 14:48:22 +1000|
|Subject||Re: [greenstone-users] Install on CentOS 4 problem|
Thanks for your reply:
I had already configured the Alias/ScriptAlias. I did reinstall using Install.sh (accepting all the defaults) but got the same problems. my config is below:
Alias /gsdl/ "/usr/local/gsdl/"
Options Indexes MultiViews FollowSymLinks
Allow from all
# Location of the WebDAV lock database.
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
ScriptAlias /gsdl/cgi-bin/ "/usr/local/gsdl/cgi-bin/"
The other 'strange' thing was that on a restart of Apache the following warnings were reported:
Tue May 23 14:44:53 2006] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 494 will probably never match because it overlaps an earlier AliasMatch.
[Tue May 23 14:44:53 2006] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 519 will probably never match because it overlaps an earlier Alias.
Even though the ScriptAlias for the cgi-bin directory is there the browser still wants to open the file rather than run the binary.
On 5/22/06, email@example.com < firstname.lastname@example.org> wrote:
Hi Pete -