Forum OpenACS Q&A: missing variable in ad-security.tcl

Collapse
Posted by Koala Yeung on
I have moved an old OpenACS to a new machine. It seems that there is a problem with it. It was an AOLserver3.3-oacs with openssl installation.

I have copied all the source files to the new server. I have also dump and import the old database to the new one. After all of the installation stuffs, I started the server.

I tried to go to the openssl site with the 'https://'; URL but after all the certification verification, it returned nothing to me.

I go to the log, it give me something like this 2 lines:
---------------------------
[11/Oct/2005:20:42:01][9844.-156181584][-conn2-] Error: Filter sec_read_security_info returned error #1: can't read "desired_host_no_port": no such variable
[11/Oct/2005:20:42:01][9844.-156181584][-conn2-] Error: tclop: invalid return code from filter proc 'Critical filter sec_read_security_info failed.': must be filter_ok, filter_return, or filter_break
---------------------------
These 2 lines repeats whenever I reflash the page.

Where should I start looking at the problem?

Collapse
Posted by Don Baccus on
Hmmm, that code has moved in more recent versions of OpenACS, to rp_filter.

It is assigned by a regexp that strips the port from the URL in the ns_conn structure's location field.

What version of OpenACS are you running?