Make sure enabletclpages is set to true in nsd.tcl. By default it is
set to false, meaning that .tcl files won't run from under pageroot.
ns_section "ns/server/${servername}"
...
ns_param enabletclpages true ;# Parse *.tcl files in pageroot.
...
/s.
On Dec 10, 2008, at 7:46 AM, Wolfgang Winkler wrote:
Hi!
I've installed a vanilla AOLServer 4.5 and I'am trying to customize
the
404 Page.
I've this block in my tcl configuration:
ns_section "ns/server/${servername}/redirects"
ns_param 404 "/notfound.tcl" ;# Not Found error page
And a simple
ns_return 200 "text/html" "OK"; return
in my corresponding tcl file, but this file is never called.
Has anybody succeeded in creating custom tcl files?
thanks,
wiwo
--
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.
--
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.