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

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



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.

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



Reply to: