Forum Discussion
Kevin_Stewart
Sep 09, 2013Employee
Try this:
when RULE_INIT {
set static::error_url {http://[HTTP::host]/404.aspx}
}
when HTTP_REQUEST {
set static::error_url {http://[HTTP::host]/404.aspx}
HTTP::respond 302 Location [subst $static::error_url] Cache-Control No-Cache Pragma No-Cache
}
Just took the curly braces out of the subst statement.