[thelist] SSI a blank file in IIS returns 404 error

Craig cd-ml at aardvark.net.au
Mon Jan 13 07:41:01 CST 2003


--
[ Picked text/plain from multipart/alternative ]
Hi list'ers,

Have a small problem using SSI to include a blank file (file exists but
there is no content in the file).  The file is not usually blank which then
includes ok, but being a file which is populated from another file, it can
sometimes be blank.  The problem is when the file is blank, instead of SSI
including nothing, it writes the following text:

HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.1 Date: Mon, 13 Jan
2003 13:07:16 GMT Connection: close Content-Type: text/html

404 Object Not Found

It writes that as text in the page, it doesn't actually point my browser to
the servers 404 page.  Is there a way to get this working?  To include a
blank file using SSI?

Oh yeah, it's on IIS5.1

Thanks for any help,
Craig.

--




More information about the thelist mailing list