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 asking the server to return that file directly
(i.e. http://your-server/notfound.tcl ). If it works, then it's a
problem with the configuration, very probably that ${servername} is not
properly set.
If it doesn't work, then it's a problem of permissions on the file, or
that the notfound.tcl file is not in the root folder of the server.
Kind Regards,
Juan José
-
Juan José del Río |
(+34) 616 512 340 | [EMAIL PROTECTED]
Simple Option S.L.
Tel: (+34) 951 930 122
Fax: (+34) 951 930 122
http://www.simpleoption.es
http://www.simpleoption.com
On Wed, 2008-12-10 at 07:46 -0500, 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 Foun 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.