Home
The Toolkit for Online Communities
16703 Community Members, 2 members online, 2636 visitors today
Log In Register
OpenACS Home : xowiki : Weblog
Search · Index
Previous Month April 2014
Sun Mon Tue Wed Thu Fri Sat
30 31 1 2 3 (1) 4 5
6 7 8 9 (1) 10 11 12
13 14 15 16 17 18 19
20 21 22 (1) 23 24 25 26
27 28 29 30 1 2 3

Popular tags

ad_form , ADP , ajax , aolserver , asynchronous , bgdelivery , bugtracker , COMET , cvs , debian , emacs , fedora , FreeBSD , hstore , includelets , install , installation , installers , javascript , libthread , linux , monitoring , naviserver , nginx , nx , oracle , osx , patches , performance , postgres

No registered users in community xowiki
in last 30 minutes

Contributors

OpenACS.org

Weblog

Filtered by popular tag ssl, 1 of 1 Postings (all, summary)

Using Pound as a reverse Proxy

Created by Nima Mazloumi, last modified by Gustaf Neumann 25 Mar 2007, at 03:33 PM

Requirements: You have OpenSSL installed and created a certificate.

Assumptions:

  • You have OpenACS 5.2 istalled (branch oacs-5-2) under /www/service0
    For other OpenACS versions you need to do the following steps: http://jamesthornton.com/writing/openacs-pound.html
  • Your Server has the IP-Address 1.2.3.4
  • Pound is running on Port 443 under user "root" and group "users"
  • AOLServer on 127.0.0.1, Port 10000
  • Your certifcate is under "/www/service0/certs/certificate.pem"

For an alternative of pound, see Nginx  with a sample configuration from Malte .

In order to use Pound for Load-Balancing and SSL encryption follow the below steps. Call "man pound" for a detailed description of the used parameters.

  1. Install Pound

    cd /opt/src
    wget
    http://www.apsis.ch/pound/Pound-2.1.6.tgz
    tar xzpf Pound-2.1.6.tgz
    cd Pound-2.1.6
    ./configure
    make
    make install

  2. Configure Pound

    emacs /usr/local/etc/pound.cfg/usr/local/etc/pound.cfg

    User            "root"
    Group           "users"

    LogLevel        0

    Alive           10

    ListenHTTPS
                Address 1.2.3.4
                Port 443
                Cert "/www/service0/certs/certificate.pem"
                xHTTP 2
                HeadRemove "X-SSL-Request"
                HeadRemove "X-Forwarded-For"
                AddHeader  "X-SSL-Request: 1"

                Service
                    URL ".*"
                    BackEnd
                            Address 127.0.0.1
                            Port 10000
                    End
                End
    End

  3. Configure AOLServer

    emacs /www/service0/etc/config.tcl

    set httpport              10000
    set address               127.0.0.1

  4. Start Pound+AOLServer