Forum OpenACS Q&A: Re: after installation how to access

Collapse
Posted by Héctor Romojaro on
I'm not sure if I understand your question correctly.

You can have the proxy on a different machine, as far as i know, there is no problem with that.

Collapse
Posted by James Godrej on
Hi Hector you can check my site

http://openacs.openitup.in
following is Apache vhost entry on machine which faces internet (OpenACS) is hosted on some machine on LAN.



ServerName openacs.openitup.in
ServerAdmin webmaster@localhost


ProxyPass / http://192.168.1.5:8000/
ProxyPassReverse / http://192.168.1.5:8000/


Upto here it is correct but when I login then I see
the internal IP in URL and port (which is not visible to outside world) or I do not want the request to be served
as http://openacs.openitup.in:8000
port 8000 is not open at gateway so the login breaks.

This is the situation I am referring to.

Collapse
Posted by Torben Brosten on
James,

in OpenACS, when logged in as admin, go to /admin/site-map

scroll to the bottom of the page.

In the services section, click on "TCL Library"

Change the parameter SuppressHttpPort to value of 1 from value of 0.

restart AOLserver.

Voila! port should not be included in redirects..

cheers!

Torben

Collapse
Posted by James Godrej on
Hi Torben thanks for the message I did that but even after restart of aolserver it did not happen the way you mentioned.

I then rebooted the entire machine but still I see port 8000 in the redirects.

Inface restarting of aolserver gives following

/etc/init.d/aolserver4 restart
* Starting AOL instance openacs [24/Feb/2011:11:33:52][31774.71640832][-main-] Error: prebind: invalid entry: 192.168.1.19:8000: Address already in use
[ OK ]
root@ubuntu:~# [24/Feb/2011:11:33:52][31775.71640832][-main-] Notice: nsd.tcl: starting to read config file...
[24/Feb/2011:11:33:52][31775.71640832][-main-] Notice: nsd.tcl: using threadsafe tcl: 1
[24/Feb/2011:11:33:52][31775.71640832][-main-] Notice: nsd.tcl: finished reading config file.