Re: [greenstone-users] reg Greenstone installation in Linux environment

From Mayank Bhatnagar
DateWed, 23 Nov 2005 10:19:42 +0530 (IST)
Subject Re: [greenstone-users] reg Greenstone installation in Linux environment
In-Reply-To (4383EAD4-2030405-cs-waikato-ac-nz)
hi Katherine,

Yes, I am using Apache version 2.0.53.

> Are you using apache? How have you set up apache to serve greenstone?
> The way I use apache is to have a global cgi-bin directory, and then
> symlink to the greenstone library file from there. With this
> configuration I need to copy the gsdlsite.cfg into the global cgi-bin
> directory.

I am also using it the similar way. I have the global cgi-bin directory as
/usr/local/apache2/cgi-bin and there I had earlier copied all gsdl cgi-bin
files into it as was mentioned during installation.

Now since you mentioned to create a symlink to greenstone library file,
ie where gsdl is residing, I just now created that, and now it gives me a
Forbidden error.

"Forbidden
You don't have permission to access /cgi-bin/library on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request."


Now, this is a permission problem, but I am not able to figure out exactly
where it could be. The global cgi-bin directory in Apache2 is readable by
all, and inside it contains a symlink to the 'library' file, which is
again an readable/executable by everyone

I think there is some problem in cgi-bin set up. I am currently trying to
figure it out. Hopefully it should work soon. :(

thanks,
regards,
Mayank

>
> If you have a scriptalias in your apache config file pointing to the
> gsdl/cgi-bin directory, then this does not apply.
>
> Regards,
> katherine
>
> Mayank Bhatnagar wrote:
> > hi Richard,
> >
> > Thanks for mail, but it is already globally readable.
> >
> > Regards,
> > Mayank
> > __________________________________________________________________________
> >
> > On Wed, 23 Nov 2005, Richard Managh wrote:
> >
> >
> >>Hi Mayank,
> >>
> >>This could possibly be a file permissions problem, is your gsdlsite.cfg
> >>readable by the apache user? It may have to be set to be globally readable.
> >>
> >>
> >>Regards,
> >>
> >>Richard.
> >>--
> >>DL Consulting
> >>Greenstone Digital Library and Digitisation Specialists
> >>contact@dlconsulting.co.nz
> >>www.dlconsulting.co.nz
> >>
> >>
> >>
> >>Mayank Bhatnagar wrote:
> >>
> >>
> >>>Dear all,
> >>>
> >>>I am installing Greenston version gsdl-2.52-unix on FC2, kernel
> >>>2.6.5-1.358
> >>>
> >>>After running Install.sh and providing all parameters, I am getting this
> >>>error which I am unable to solve.
> >>>
> >>>
> >>>"Oops The gsdlsite.cfg configuration file does not contain a valid
> >>>gsdlhome entry. gsdlsite.cfg should reside in the same directory as the
> >>>library executable file."
> >>>
> >>>What could be the possible reason?
> >>>
> >>>Can any one provide any hints on what could be the problem.
> >>>
> >>>
> >>>1) I have the gsdl directory in my home directory, so I am making sure the
> >>>GSDLHOME settings in the gsdlsite.cgf is set correctly to, like this
> >>>
> >>>gsdlhome /home/mayank/gsdl/
> >>>
> >>>
> >>>2) Reg the seond error statement , ie "gsdlsite.cfg should reside in the
> >>>same directory as the library executable file", that is fine as the cfg
> >>>file is in the cgi-bin directory, where library executable resides.
> >>>
> >>>
> >>>Looking forward to any solutions,
> >>>
> >>>Regards,
> >>>Mayank
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>greenstone-users mailing list
> >>>greenstone-users@list.scms.waikato.ac.nz
> >>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >>>
> >>>
> >>
> >
> >
> > _______________________________________________
> > greenstone-users mailing list
> > greenstone-users@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
> >
>