[greenstone_es] Re: NO VISUALIZO LAS COLECCIONES

  • From: "Diego Spano" <dspano@xxxxxxxxxxxx>
  • To: <greenstone_es@xxxxxxxxxxxxx>
  • Date: Wed, 24 Jun 2009 15:47:42 -0300

Paulina,

 

Pude reproducir el error en mi pc. Editá el archivo /cgi-bin/gsdlsite.cfg y
comentá (agregale un # al comienzo) la linea que dice:

 

gwcgi       /cgi-bin/library

 

Saludos

 

Diego

 

 

De: greenstone_es-bounce@xxxxxxxxxxxxx
[mailto:greenstone_es-bounce@xxxxxxxxxxxxx] En nombre de Paulina Romero
Enviado el: Martes, 23 de Junio de 2009 02:32 p.m.
Para: greenstone_es@xxxxxxxxxxxxx
Asunto: [greenstone_es] Re: NO VISUALIZO LAS COLECCIONES

 

Raul,

Hice los cambios pero no puedo visualizar las colecciones. ¿Sera algun
problema del collect?.

Ya que hice todos los cambios al archivo http. conf y al gsdlsite.cfg.

Paulina.

El 23 de junio de 2009 13:43, Raúl Barrera <raul.barrerap@xxxxxxxxx>
escribió:

Solo la ruta que indica hacia el disco C, porque así es como Windows
identifica las rutas.
Las otras son rutas del tipo web como por ejemplo /gsdl/images, esas usan
slash( / ).

 

2009/6/23 Paulina Romero <pauli.kai@xxxxxxxxx>

Raul,

Pregunta ruta tiene que estar con baslah o slah ya que en mi archivo
gsdlsite.cfg todas las configuraciones esta con: /.

Paulina.

El 23 de junio de 2009 12:29, Raúl Barrera <raul.barrerap@xxxxxxxxx>
escribió:

 

Paulina, prueba cambiando la configuración de gsdlsite.cfg
en la línea que dice gsdlhome, debiera quedar así:

gsdlhome "C:\Greenstone2", fijateque está la ruta encerrada entre comillas.

Prueba con esto, y veamos que sucede.

 

2009/6/23 Paulina Romero <pauli.kai@xxxxxxxxx>

Raúl,

Este es el contenido del archivo /greenstone2/cgi-bin/gsdlsite.cfg

# this file should be placed in the same directory as your library
# executable file. it defines parameters that are particular to a
# given site, and therefore should be edited to suit your site.

# points to the GSDLHOME directory
gsdlhome    C:/Greenstone2

# this is the http address of GSDLHOME
# if your webservers DocumentRoot is set to $GSDLHOME
# then httpprefix can remain commented out
httpprefix  /gsdl

# this is the http address of the directory which
# contains the images for the interface.
# if your webservers DocumentRoot is set to $GSDLHOME
# then httpimg will be /images
httpimg     /gsdl/images

# should contain the http address of this cgi script. This 
# is not needed if the http server sets the environment variable 
# SCRIPT_NAME
gwcgi       /cgi-bin/library

# maxrequests is the most requests a fastcgi process
# will serve before it exits. This can be set to a
# low figure (like 1) while debugging and then set
# to a high figure (like 10000) when everything is
# working well.
maxrequests 10000

# If the GLIServer will be used to run the Fedora Librarian 
# Interface (FLI), set FEDORA_VERSION (the major version number
# of Fedora) and set FEDORA_HOME to be the full path to your 
# Fedora installation. 
# Setting fedorahome and fedoraversion here will overwrite the
# environment variables FEDORA_HOME and FEDORA_VERSION if set.
#fedorahome /full/path/to/fedora
#fedoraversion 3

# If JAVA_HOME is set, setting the following will overwrite it.
# If using Greenstone 2's GLIServer to run the Fedora Librarian
# Interface (FLI), then you need to set the full path to 
# JAVA_HOME either below or as an environment variable.
#javahome /full/path/to/j2sdk1.4/or/higher

# If Perl is not already on your PATH, set the following to the 
# full path of the perl bin directory (Perl's parent folder) 
# and it will be prepended to the PATH.
perlpath C:/Greenstone2/bin/windows/perl/bin










El 23 de junio de 2009 12:52, Diego Spano <diegospano@xxxxxxxxx> escribió:

 

Paulina,

podes decirme el contenido del archivo /greenstone2/cgi-bin/gsdlsite.cfg?

2009/6/23 Paulina Romero <pauli.kai@xxxxxxxxx>

 

Hola Diego,

Mira esta es la configuración del apache que yo tenia.



ScriptAlias /gsdl/cgi-bin/ "C:/Greenstone2/cgi-bin/"

<Directory "C:/Greenstone2/cgi-bin">

Options None

AllowOverride None

</Directory>

#

# Redirect allows you to tell clients about documents which used to exist in

# your server's namespace, but do not anymore. This allows you to tell the

# clients where to look for the relocated document.

# Example:

# Redirect permanent /foo http://www.example.com/bar

 

#

Alias /gsdl/ "C:/Greenstone2/"

            <Directory "C:/Greenstone2">

                        Options Indexes MultiViews FollowSymLinks

                        AllowOverride None

                        Order allow,deny

                        Allow from all

            </Directory>

 

Solamente le quite la letra C y los dos puntos  que iba antes de greenstone.


Despues fui nuevamente a http://localhost/cgi-bin/library y me aparece el
Home principal  de greenstone. El problema empieza cuando pincho la
coleccion demo o la interfaz del administrador.

Nuevamente fui a la carpeta logs del Apache y me aparece el siguiente error:
[error] [client 127.0.0.1] file does not exist: C:/Greenstone2/favicon.ico


 
[error] [client 127.0.0.1] script not found or unable to stat: C:/Archivos
de programa/Apache Group/Apache2/cgi-bin/library,  referer:
http://localhost/gsdl/cgi-bin/library



Como ves dice que no existe favicon.ico, ademàs de la referencia al
http://localhost/gsdl/cgi-bin/library

No se cual puede ser el error.

Paulina.

El 22 de junio de 2009 10:52, Diego Spano <dspano@xxxxxxxxxxxx> escribió:

 

Hola Paulina,

 

Pareciera ser un error en la configuración del Apache.  Te envío como
ejemplo una configuración típica:

 

ScriptAlias /gsdl/cgi-bin "/greenstone2/cgi-bin"

  <Directory "/greenstone2/cgi-bin">

     Options None

     AllowOverride None

  </Directory>

  

  Alias /gsdl "/greenstone2"

  <Directory "/greenstone2">

     Options -Indexes MultiViews FollowSymLinks

     AllowOverride None

     Order allow,deny

     Allow from all

  </Directory>

 

Asegurate que el ScriptAlias esté definido antes que el Alias.

 

Saludos

Diego

 

 

 

De: greenstone_es-bounce@xxxxxxxxxxxxx
[mailto:greenstone_es-bounce@xxxxxxxxxxxxx] En nombre de Paulina Romero
Enviado el: Lunes, 22 de Junio de 2009 01:11 a.m.
Para: greenstone_es@xxxxxxxxxxxxx
Asunto: [greenstone_es] NO VISUALIZO LAS COLECCIONES

 

Hola Lista,

Hace poco cambie el servidor local de greenstone a un servidor apache todo
funciona bien hasta aqui: http://localhost/gsdl/cgi-bin/library. Pero cuando
pincho la coleccion demo dice que no esta en le server.  

The requested URL /cgi-bin/library was not found on this server.

  _____  

Apache/2.0.63 (Win32) Server at localhost Port 80


Despues voy a el log del apache y me da el siguiente error: [Sun Jun 21
00:31:04 2009] [error] [client 127.0.0.1] script not found or unable to
stat: C:/Archivos de programa/Apache Group/Apache2/cgi-bin/library, referer:
http://localhost/gsdl/cgi-bin/library.

Espero que me puedan ayudar a solucionar este problema ya que estoy
revisando todos los archivos de configuración.


Saludos.

Paulina.

 

 

 

 

 





 

Other related posts: