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
Hello Wolfgang,
Yes, I have a configuration like that working like a charm.
Those lines are ok, just make sure that the variable ${servername}
matches the host you're actually configuring, and the the notfound.tcl
file is stored in the root folder for that server.
You can test it out, just
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,
To answer my own question:
I've checked out the AOLServer sources from cvs and copied the nsd binary to
my aolserver/bin directory. After a restart the redirects worked.
Maybe it's time for a 4.5.1 release?
wiwo
On Wed 10 December 2008, Wolfgang Winkler wrote:
Hi!
I've installed a vanilla
Wolfgang Winkler wrote:
To answer my own question:
I've checked out the AOLServer sources from cvs and copied the nsd binary to
my aolserver/bin directory. After a restart the redirects worked.
Maybe it's time for a 4.5.1 release?
Absolutely. Would you like to help prepare it for us?