<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2900.5969" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have this piece of code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>-----------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>(defpackage :web<BR> (:use<BR>
:common-lisp<BR> :hunchentoot<BR>
:cl-who<BR> :parenscript))</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(in-package :web)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(start (make-instance 'acceptor :port
8000))</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(push (create-prefix-dispatcher "/index.html"
'index) *dispatch-table*)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>(defun index ()<BR>
(with-html-output-to-string (str)<BR>
(:html<BR> (:head<BR>
(:title "Test page"))<BR>
(:body<BR> (dotimes (x
10)<BR>
(htm<BR> (:p
"Text")))))))</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and when I go to <A
href="http://localhost:8000/index.html">http://localhost:8000/index.html</A> I
get an error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>---------------------------------------------------------</FONT></DIV>
<DIV>Internal Server Error</DIV>
<DIV>An error has occured.</DIV>
<DIV>------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial><FONT size=2>Where is the error in my code
?</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>And where is the hunchentoot error log
?</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>Thanks</FONT></DIV></BODY></HTML></FONT>