* Jim Wilcoxson <[EMAIL PROTECTED]> [20040105 01:23]: > Instead of putting notfound.html as your parameter, you could use > notfound.tcl and create a new tcl script with this line: > > ns_returnfile 404 text/html [ns_server pageroot/global/notfound.html > > Save this script as /global/notfound.tcl
Thanks, that works! I was just wondering if there was a more obvious way to accomplish that - why doesn't aolserver return 404 status by default when having custom error pages? Is there a reason for this or is it just oversight? til -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
