I got this to work:

proc redirect_to_site1a {args why} {
    ns_returnredirect "http://www.site1a[ns_conn url]"
    return filter_return
}

ns_register_filter preauth GET /* redirect_to_site1a


I tried trace where preauth is, but it didn't work so I tried preauth and now it works......

wj

On Friday, Jun 20, 2003, at 09:06 America/Denver, Wes James wrote:

I fixed this up a bit (added trace in ns_register_filter):

proc redirect_to_site1a { why } {
    #ns_log notice "ns_returnredirect http://www.site1a[ns_conn url]"
    ns_returnredirect "http://www.site1a[ns_conn url]"
    return filter_ok
}


--
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.

Reply via email to