Version 1 of Matthias Hoffmann - Tclhttpd - Possible Pitfalls

Updated 2006-04-12 10:16:27

With v3.42, could not reference cgi-bin-relative documents 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.

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...)

This is because of special handling of the CGI-domain (in contract to the DOC-domain), I think.


Category TclHttpd