Solprovider Lenya Kongregate Registration for Free Flash Games and Chat with solprovider

Proxying Jetty behind Apache httpd

This article contains the settings for running Lenya1.2.2 on Jetty behind Apache 2.1. The Jetty ports are firewalled except for communication from Apache httpd.

ProxyPassReverseCookieDomain was not available until httpd2.1.  
Either Lenya or Jetty creates the Cookies with "99999999" appended, and we never researched why.  
Our maintainers are using Kupu. Additional configuration would be require for other editors.

These settings are inside the VirtualServer tags in httpd.conf:
ServerName livelenya.solprovider.com
RewriteEngine On
RewriteRule ^/solprovider/live/(.*)$ http://127.123.123.123:8888/solprovider/live/$1 [P]
RewriteRule ^/solprovider/authoring/(.*)$ http://127.123.123.123:8888/solprovider/live/$1 [P]
RewriteRule ^/lenya/(.*)$ http://127.123.123.123:8888/lenya/$1 [P]
RewriteRule ^/kupu/(.*)$ http://127.123.123.123:8888/kupu/$1 [P]
RewriteRule ^/(.*)$ http://127.123.123.123:8888/solprovider/live/$1 [P]

ServerName editlenya.solprovider.com
RewriteEngine On
RewriteRule ^/$ http://127.123.123.123:8888/solprovider/authoring/$1 [P]
RewriteRule ^/images/(.*)$ http://127.123.123.123:8888/solprovider/authoring/images/$1 [P]
RewriteRule ^/css/(.*)$ http://127.123.123.123:8888/solprovider/authoring/css/$1 [P]
RewriteRule ^/(.*)$ http://127.123.123.123:8888/$1 [P]
ProxyPassReverseCookieDomain 127.123.123.12399999999 solprovider.com
ProxyPassReverseCookieDomain 127.123.123.123 solprovider.com
ProxyPassReverse / http://127.123.123.123:8888/


<< Linux servicePublications >>

Contact Solprovider
Paul Ercolino