Forum OpenACS Q&A: Re: server error in a new install

Collapse
Posted by James Godrej on
Ok I had done a re install and now this time things really worked smoothly.
I can see http://localhost:8000

Here is now where my doubts begin.
The LAN IP of machine where OpenACS is installed is
192.168.1.5

so I previously to make this accessible to any one on LAN had
done in /etc/aolserver4/conf.d/openacs.sh

changed

AOL_USER=www-data
AOL_GROUP=www-data
AOL_ADDRESS=127.0.0.1
AOL_PORT=8000
RUN_DAEMON=yes

to

AOL_USER=www-data
AOL_GROUP=www-data
AOL_ADDRESS=192.168.1.5
AOL_PORT=8000
RUN_DAEMON=yes

is this right?
and during installation it asked to enter Canonical URL name for server
I have entered there
http://openacs.openitup.in

I dropped the :8000 part.

Is this correct?

Because now I will configure Apache Reverse proxy which is at a machine physically different location than where OpenACS runs.

Collapse
Posted by Héctor Romojaro on
It looks correct, yes.

Try it with the proxy and the parameters Torben told you, and see if it works properly.

Anyway, if it doesn't, don't reinstall again!! It can be probably fixed just editing some file or changing a single parameter.

Collapse
Posted by James Godrej on
I think upto here we have been able to correctly bring thing on track.

You can check http://openacs.openitup.in

is accessible on internet.
Now comes the real problem because of which all the hotch potch had happened.
When I login with the account which I had created during installation from internet on

http://openacs.openitup.in

then I see after some time the connection breaks

and I see the URL
http://openacs.openitup.in:8000/

now port 8000 is not opened on the Gateway which faces internet (that is the reason I am using Apache Reverse Proxy)
So how can I avoid when some one logs in to the site this port to come in URL.

Collapse
Posted by Michael Aram on
Check the value of SystemURL in /acs-admin/ -> Kernel -> Parameters

is it http://openacs.openitup.in:8000/ ?

Collapse
Posted by James Godrej on