[greenstone-users] Conf directives for existing Apache server (GSDL 2.83)

From arnaud yvan
DateFri Apr 30 03:05:37 2010
Subject [greenstone-users] Conf directives for existing Apache server (GSDL 2.83)
Hi Jayanta,

first of all, did you have a look on the wiki page at the following address
or_Greenstone_2_Walkthrough> ?

If not, please follow the instructions there.

If you want to access Greenstone directly at the following address :
you can try to add an index.html file in your /usr/local/Greenstone folder
with following code :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="refresh" content="0;
url=http://www.archive.necef.in/cgi-bin/library.cgi" />
<title>My Greenstone Library</title>
<meta name="robots" content="noindex,follow" />

It should redirect your server root to your Greenstone home page.
Hope it will help.

Yvan Arnaud

-----Message d'origine-----
De : Jayanta B Sarma [mailto:jayantabsarma&#64;hotmail.com]
Envoy□ : jeudi 29 avril 2010 16:26
□ : greenstone-users@list.scms.waikato.ac.nz
Objet : [greenstone-users] Conf directives for existing Apache server (GSDL

I installed Greenstone 2.83 on Centos 5 server (with PLESK) in the folder
/usr/local/Greenstone without any issue. I do not want to use the apache
that installed with Greenstone (so renamed the apache-httpd folder and
gs2-server.sh file within the Greenstone folder). I want to use the exisitng
apache server and acccess the Greenstone on 'www.archive.necef.in' (this
subdomain is fully configured and resolve to my server IP). I have used the
following virtual host directive in the /etc/httpd/conf/httpd.conf file
which is not right as I only get the default apache 2 test page and not
Greenstone installation.
ServerName archive.necef.in:80
ServerAlias www.archive.necef.in
DocumentRoot /usr/local/Greenstone
ScriptAlias /cgi-bin/ /usr/local/Greenstone/cgi-bin/
I am sure this is a matter of putting the right virtual host directives in
the /etc/httpd/conf/httpd.conf file. Please help me with the right
configuration directive please. I spent hours but could not find this
anywhere searching the web and some details on the Wiki will save time to
many non-expert like me.
Many thanks.
J Sarma


Get a free e-mail account with Hotmail. Sign-up
<http://clk.atdmt.com/UKM/go/197222280/direct/01/> now.

-------------- section suivante --------------
Une pi□ce jointe HTML a □t□ enlev□e...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20100429/8b58dbdb/attachment.html