Livoris.de

KomAjpServer

Implementation of the AJP13 protocol for Seaside in Squeak.
Version: 
1.1
License: 

Overview

KomAJPServer is based on KomHttpServer and adds support for the AJP13 protocol to Seaside on Squeak.

Features

  • Working AJP13 with lighttpd and Apache HTTP Server
  • Accessing the SSL client certificate without doing HTTPS
  • Load-balancing with sticky session (not finished yet)

Installation

  1. Download the latest Pharo or Squeak image and virtual machine.

  2. Add the following repository to Monticello:

MCHttpRepository
   location: 'http://www.squeaksource.com/Seaside30'
   user: ''
   password: ''
  1. Load the latest LoadOrderTest package. In the following dialog load Seaside. Running the tests is not needed.

  2. Add the following repository to Monticello:

MCHttpRepository
    location: 'http://www.squeaksource.com/KomAjpServer'
    user: ''
    password: ''
  1. Load the following packages:

    • KomAjpServer-Core
    • KomAjpServer-Protocol
    • Seaside-Adaptors-Comanche-AJP
  2. Opening the Seaside Control Panel (World-Menu, Tools, More ...)

  3. Add WACommancheAJPAdaptor by right-clicking into the list and selecting "Add adaptor..."

  4. Configure the port for AJP which is usually 8009

Configuring Apache

Proxying

If name-based virtual hosting is activated then the following configuration would create a new virtual host called ajp that will proxy to Seaside via AJP on port 80.

<VirtualHost *:80>
  ServerName ajp
 
  ProxyRequests Off
  ProxyVia On
  ProxyPass / ajp://localhost:8009/        
</VirtualHost>

Load-balancing

Load-balancing with Apache HTTP Server

Client certificate

Client certificate verification in Seaside

Configuring lighttpd

Proxying

Load-balancing

Load-balancing with lighttpd

© 2014 Christopher Schuster. Drupal theme by Kiwi Themes.