Forum OpenACS Q&A: openacs server behind the firewall

Collapse
Posted by Jerome M on
we have an openacs installed on 1 of our box.. but this box resides inside the lan.. and it seems that if ill be doing a new package install it uses http to download those files..

connection to the net should be via proxy..

is there a way to configure openacs to use our proxy?

TIA

Collapse
Posted by Andrei Popov on
I think you'd be out of luck.  Have not looked at the code, but would guess that it uses ns_geturl to fetch the package, which does not support proxying the request.

Not sure how much effort this would be, but you could modify APM code to use wget or curl or fetch or even lynx to fetch files.

Collapse
Posted by Randy O'Meara on
Another option would be to set up your own local repository and populate it with the oacs repository package and xml files, or build your own from the oacs CVS repository sources (if you have a workable method of obtaining the required files).

You can start rooting around in  packages/acs-admin/www/install/index.tcl to set the repository location.

Lars might pipe-in if you're interested in doing something like this. I'm sure you're not the only one affected by lack of proxy capacity in aolserver. Lots of folks with oacs 5.x servers will be behind firewals, so this would probably be a good general solution.