Version 0 of Matthias Hoffmann - Tclhttpd - Possible Pitfalls

Updated 2006-02-28 20:40:09

With v3.42, could not load several document types from the html produced by an cgi script:

 <link rel=stylesheet href="/css/pkgState.css" type="text/css"></link>

works, but

 <link rel=stylesheet href="pkgState.css" type="text/css"></link>

does not work, if the current working directory is cgi-bin or below.

The same thing here:

 <script language="JavaScript" type="application/x-javascript" src="/wz_tooltip.js">

is ok, whereas

 <script language="JavaScript" type="application/x-javascript" src="wz_tooltip.js">

leads to an server error 400 (don't know how to handle CGI wz_tooltip.js or so...)

What is going wrong?