cgiwrap might be interested in my error 404 generation kit. This is an ex=
from a larger project, hence the mutilple header files. It assumes you us=
e GNU =
autoconf, put the results in config.h and have an absolute path defined i=
FYI as you can see the code in error404.c can be used to generate other e=
too. The actual page is 404.html with the % signs substituted. The 404 pa=
ge in =
404.html is visually indistinguishable from the default apache one. You c=
distinguish it because the apache one is not valid XHTML. If I replaced t=
fpiuts_entified with fputs nasty people might be able to get evil javascr=
into the resulting page. Similar logic is applied in apache.
There is an error404 function in error_page.h. Eliminating the excess > i=
404.html is left as an exercise as removing attatchments easily is not a =
feature of my email client.
Feel free is use either under either the GPL or cgiwrap licence, if this =
different. If you want the files under some other licence then please con=