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

Collapse
Posted by James Godrej on
Ok I understood that part see. I also want to know one more thing if I always use the AOLServer default installation to listen on port 8000 and use a different machine where I configure the Reverse Proxy (I am using 10 more applications on reverse proxies ) the machine where I have OpenACS installed I also want to run some applications which depend upon Apache so my machine where reverse proxy would be configured would be machine different from the one where OpenACS is working.
On the same time I want the machine where OpenACS is working to use Apache also (is that possible ) or to have OpenACS working I need to shutdown Apache on that machine.Since we have applications that heavily depend upon Apache so my thought is to keep OpenACS (AolServer) in its default state of installation and then configure an Apache Reverse proxy on a different machine or do I necessarily need the Apache on computer where OpenACS is to use.I think I made myself clear let me know if the question is not clear.
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.