| From | Pete Januarius |
| Date | Tue, 23 May 2006 14:48:22 +1000 |
| Subject | Re: [greenstone-users] Install on CentOS 4 problem |
| In-Reply-To | (2092-24-51-110-253-1148256295-squirrel-www-treebay-org) |
| Hi Anson, 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/" <Directory "/usr/local/gsdl"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <IfModule mod_dav_fs.c> # Location of the WebDAV lock database. DAVLockDB /var/lib/dav/lockdb </IfModule> # # 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 # Alias. # ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" ScriptAlias /gsdl/cgi-bin/ "/usr/local/gsdl/cgi-bin/" <Directory "/usr/local/gsdl/cgi-bin"> AllowOverride None Options None </Directory> 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. Pete... [root@localhost cgi-bin]# On 5/22/06, anson@treebay.org <
anson@treebay.org> wrote: Hi Pete - | |