Home
News Forums Community Wiki Bugs Documentation Download
The Toolkit for Online Communities
12718 Community Members, 0 members online
Log In Register

OpenACS BlogArchive

OpenACS Home : OpenACS Blog : Archive : 2005 : July
This forum posting provides some excellent pointers for expanding and using acs-subsite based member roles.

09:45 PM, 19 Jul 2005 by Nick Carroll Permalink | Comments (0)

How to configure AOLServer behind a proxy

How to configure AOLServer behind a proxy (Taken from this forum posting)

If you have a installation of OpenACS that is behind a proxy you will soon realize some stuff will break:

* Installation of modules from OpenACS repository
* News Agregator
* Any application using ns_httpopen, ns_sock...

In order to fix this you have to change two files:

* config.tcl
* [AOLSERVER]/modules/tcl/http.tcl

Changing your server configuration

Go to the section ns/parameters and add these lines under the section:

ns_param proxy your-cache.server
ns_param proxy_port xxxx

Changing the proc ns_httpopen

In the file [AOLSERVER]/modules/tcl/http.tcl go to the line

set fds [ns_sockopen -nonblock $host $port]

And change it to

set proxy [ns_config ns/parameters proxy $host]
set proxy_port [ns_config ns/parameters proxy_port $port]
set fds [ns_sockopen -nonblock $proxy $proxy_port]
set uri http://$host$uri

Now if you restart your server it will work just fine.

Thanks to Stefan Vogel for the fix [1].

[1] http://www.mail-archive.com/aolserver@listserv.aol.com/msg06933.html

07:55 PM, 02 Jul 2005 by Nick Carroll Permalink | Comments (0)

XML

Archive

July 2005
S M T W T F S
          2 
10  11  12  13  14  15  16 
17  18  19  20  21  22  23 
24  25  26  27  28  29  30 
31             
April 2007
March 2007
October 2006
March 2006
February 2006
January 2006
December 2005
November 2005
August 2005
July 2005
June 2005
May 2005

Notifications

You may request notification for OpenACS Blog.

Syndication Feed

XML

Recent Comments

  1. Silvio Ernesto: hola
  2. Martin v. Löwis: Cannot run pg_ctl from launchd
  3. Joan Miller: Something Interesting
  4. Hubert Erlmoser: trustpharma.com
  5. Hubert Erlmoser: TRUSTPHARMA
  6. Ben Koot: Selva
  7. LARRY SCOVEL: TRUST PHARMA
  8. Nick Carroll: Theme Selva
  9. Ben Koot: More enhancements
  10. Jane Perez: Trustpharma.com