Forum OpenACS Q&A: Response to Request processor question

Collapse
Posted by Andrei Popov on
Nope, same result -- I get "number of redirects exceeded...". With some debugging info the following is seen:

index.vuh:

set orig_url [ad_conn url] set path_info [ad_conn path_info] set url_list [split [ad_conn url] "="] set story [lindex $url_list 1] ns_log notice ">>> story: $story url_list: $url_list original_url: $orig_url path_info: $path_info" if { [empty_string_p $story] } { # redirect to old home set home_url "index.pl?show=home" ad_returnredirect "[ad_conn package_url]/$home_url" } else { rp_internal_redirect "/www/old/$story" }

request:

http://localhost:8000/index.pl?show=home

log:

[07/Oct/2002:14:19:41][480.368][-conn1-] Notice: >>> story: url_list: /index.pl original_url: /index.pl path_info: index.pl