I am trying to compress the web client content using the external httpd server . I am following this link http://wiki.servoy.com/display/public/D … the+server .
I am setting up the mod_deflate in the Apache httpd server . How can we connect our Servoy Application server with the external Apache httpd server ? . Is there any documentation for it.
You would use the mod_jk or mod_proxy_ajp module depending on your version of Apache. There are instructions at http://wiki.servoy.com/display/public/D … stallation. In your case you’ll just have one Servoy server but the concept and setup is the same as a basic load balancing configuration.
LoadModule jk_module modules/mod_jk.so
# JK/Worker configuration
# Where to find workers.properties
JkWorkersFile conf/workers.properties
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel info
JkMount /* loadbalancer
# In case you want to be able to monitor JK status
# <Location /jkmanager/>
# JkMount jkstatus
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# </Location>ls
Workers.property
# The workers that your plugins should create and work with
# ---------------------------------------------------------
# add "jkstatus" to this list in case you want to be able to monitor JK status
worker.list=servoy1, servoy2, loadbalancer
# Define ajp13 workers for Servoy Tomcat servers in cluster
# ---------------------------------------------------------
# WORKER servoy1
worker.servoy1.port=8009
worker.servoy1.host=localhost
worker.servoy1.type=ajp13
worker.servoy1.fail_on_status=-503
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.servoy1.lbfactor=1
# Load balancer
# -------------
# The loadbalancer (type lb) workers perform wighted round-robin
# load balancing with sticky sessions.
# Note:
# ----> If a worker dies, the load balancer will check its state
# once in a while. Until then all work is redirected to peer
# workers.
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=servoy1
worker.loadbalancer.sticky_session = true
# In case you want to be able to monitor JK status
# http://localhost:8080/jkmanager/
# ------------------------------------------------
# Define a 'jkstatus' worker using status
#worker.jkstatus.type=status