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

From Jayanta B Sarma
DateFri Apr 30 08:21:35 2010
Subject [greenstone-users] Conf directives for existing Apache server (GSDL 2.83)
In-Reply-To (4BD9E25D-7020704-bates-edu)
Thanks - it is working http://www.archive.necef.in/cgi-bin/library.cgi.
Now rest of the journey! Many thanks again for being so helpful.
Thanks.
Jayanta

> Date: Thu, 29 Apr 2010 15:47:41 -0400
> From: jhart@bates.edu
> To: jayantabsarma@hotmail.com
> CC: greenstone-users@list.scms.waikato.ac.nz; yvan.arnaud@st-etienne.archi.fr
> Subject: Re: [greenstone-users] Conf directives for existing Apache server (GSDL 2.83)
>
> Dear Jayanta,
>
> Because the virtual host has its document root in the greenstone
> directory, the Alias isn't needed and the ScriptAlias doesn't need
> Greenstone in front. This should do the job:
>
> <VirtualHost 212.227.141.247:80>
> ServerName archive.necef.in:80
> ServerAlias www.archive.necef.in
> DocumentRoot /usr/local/Greenstone
> ScriptAlias /cgi-bin/ "/usr/local/Greenstone/cgi-bin/"
> <Directory "/usr/local/Greenstone/cgi-bin">
> Options None
> AllowOverride None
> </Directory>
>
> <Directory "/usr/local/Greenstone">
> # For security reasons, I prefer to not have directory listings
> allowed - Jim Hart
> # Options Indexes MultiViews FollowSymLinks
> Options FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
> Regards,
>
> Jim Hart
> Bates College
> Lewiston, Maine, U.S.
>
> On 4/29/10 3:07 PM, Jayanta B Sarma wrote:
> > <VirtualHost 212.227.141.247:80>
> > ServerName archive.necef.in:80
> > ServerAlias www.archive.necef.in
> > DocumentRoot /usr/local/Greenstone
> > ScriptAlias /Greenstone/cgi-bin "/usr/local/Greenstone/cgi-bin"
> > <Directory "/usr/local/Greenstone/cgi-bin">
> > Options None
> > AllowOverride None
> > </Directory>
> > Alias /Greenstone "/usr/local/Greenstone"
> > <Directory "/usr/local/Greenstone">
> > Options Indexes MultiViews FollowSymLinks
> > AllowOverride None
> > Order allow,deny
> > Allow from all
> > </Directory>
> > </VirtualHost>

_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20100429/31019562/attachment-0001.html