[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: servidor apache con lisp: libapache-mod-lisp



si sirve de ayuda, el error 500 de Internal Server Error lo da con cualquier peticion bajo el directorio /lisp que estaba configurado asi:

>>>>(...)
>>>>  <Location /lisp>
>>>>     Options +ExecCGI
>>>>     SetHandler lisp-handler
>>>>     AllowOverride None
>>>>     Order allow,deny
>>>>     Allow from all
>>>>  </Location>
>>>>(...)

incluso archivos php fallan estando debajo de eso dando la misma salida:

rober@Romeo:/etc/apache$ lynx --dump localhost/lisp/index.php

                             Internal Server Error

   The server encountered an internal error or misconfiguration and was
   unable to complete your request.

   Please contact the server administrator, rober@localhost and inform
   them of the time the error occurred, and anything you might have done
   that may have caused the error.

   More information about this error may be available in the server error
   log.
     _________________________________________________________________


    Apache/1.3.33 Server at localhost Port 80


dando la misma linea de log en el archivo /var/log/apache/access.log:

Romeo:/var/log/apache# tail -1 access.log
127.0.0.1 - - [01/Jul/2005:15:13:48 +0200] "GET /lisp/index.php HTTP/1.0" 500 589 "-" "Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/1.0.16" "-"

y ninguna relativa a esa peticion en el archivo error.log

mario escribió:
El jue, 30-06-2005 a las 22:21 +0200, Rober Morales escribió:

No me equivoque al escribir, porque lo copié. Ésta es la salida si el script esta en el directorio que tengo configurado en el httpd.conf

rober@Romeo:~$ lynx --dump -nolist localhost/lisp/index.cl

                             Internal Server Error

   The server encountered an internal error or misconfiguration and was
   unable to complete your request.

   Please contact the server administrator, rober@localhost and inform
   them of the time the error occurred, and anything you might have done
   that may have caused the error.

   More information about this error may be available in the server error
   log.
     _________________________________________________________________


    Apache/1.3.33 Server at localhost Port 80

Romeo:/var/www/lisp# tail -1 /var/log/apache/access.log
127.0.0.1 - - [30/Jun/2005:22:15:29 +0200] "GET /lisp/index.cl HTTP/1.0" 500 589 "-" "Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/1.0.16" "-"

No se si hay otro "server error log" para el apache, o si se puede subir el nivel de información en este archivo para averiguar más.


En el mismo directorio del access.log deberia estar el error.log

Yo uso apache2 pero supongo que en el 1 deberá ser igual:

# ls /var/log/apache2/
access.log  error.log

quizás de alguna pista más el error.log

Sería interesante saber si tienes cargado el módulo de lisp en el
apache.

En apache 2 hay un módulo llamado server-status que despues de
configurado da bastante información de las cosas que carga apache y sus
configuraciones.


Muchas gracias por el interés. ¿Què puede estar pasando? ¿Necesito definir un tipo de archivo que este asociado al compilador de lisp?

Saludos

mario escribió:

El jue, 30-06-2005 a las 20:48 +0200, Rober Morales escribió:




(...)
 <Location /lisp>
    Options +ExecCGI
    SetHandler lisp-handler
    AllowOverride None
    Order allow,deny
    Allow from all
 </Location>
(...)


en consola es esto:

rober@Romeo:~$ cat /var/www/index.cl
#!/usr/bin/clisp
(format t "content-type: text/html")
(format t "~%" )
(format t "hola, mundo")

rober@Romeo:~$ /var/www/index.cl
content-type: text/html
hola, mundo


Hola

No se si será un fallo cuando has escrito el mail pero si quieres que
funcione lisp (la primera vez que lo veo) index.cl debería estar en el
directorio /var/www/lisp y tener permisos de ejecución.

A lo mejor me equivoco pero por probar....

Suerte



--


--
Rober Morales Chaparro
http://roberinworld.blogspot.com






--


--
Rober Morales Chaparro
http://roberinworld.blogspot.com



Reply to: