.request.filename and 404 error - WeOnlyDo Discussion board

.request.filename and 404 error (wodWebServer / wodWebServer.NET)

by dirk, Friday, November 20, 2009, 12:47 (5271 days ago)

With the http1_reuqestdone event I checking for the FULLURI that is received.
Based on that URI the app decides what data should be send back to the user.
In some cases it's a file that should be send to the user.
I'm setting this via
user.request.filename= c:myfile.html

IF the file exists then the file is correctly served to the client. However if the file doesn't exist then the client doesn't get a 404 error (as I would expect). Is this normal? And if so what to do to be sure that in this cases I would get (in the client) a 404 error?

(using VB6)


dirk.


Complete thread: