Forum OpenACS Q&A: Making one url instance

Collapse
Posted by Armando Arroyo on

Im running Acs4.tcl aolserver 3.2 Oracle 8.1.6

Question:
How do we get our system to have one url instance?

Symtem behavior we want:

The url returned in the browser should be http://xxx.net (always)
even if the user types http://www.xxx.net

Problem:
Our users are prompted to log in more than once on the same browser,
because they send links with these two urls http://xxx.net Or http://www.xxx.net


Question:
Is there an aolserver option that can make these urls be one all the time?

Note:
I see openacs behaves this way?
I type http://www.openacs.org and the browser automatically goes to http://openacs.org .

How can I make my system do this?

Collapse
Posted by Tom Jackson on

I think you set a parameter in (Open)ACS called ForceHostP. Set the parameter to true.

Collapse
Posted by Tilmann Singer on
Unfortunately there's a bug in OpenACS 4.5 that prevents ForceHostP from working.

Fortunately there is a fix for that by Carsten Clasohm: https://openacs.org/sdm/one-baf.tcl?baf_id=1566

Collapse
Posted by Armando Arroyo on
Thanks Tom and Tilmann for the reponse.
Upon looking at the Parameters for ACS Kernel on version ACS4.tcl
The section request-processor
has the parameter name Forcehostp.
It is set to 1.
On ACS4.tcl it is broken too.

I will seek help understanding the fix that has been reported for Openacs4.5.

Gracias,
a.a.