2009-08-17 22:07:54 +02:00
|
|
|
Alias /sogo.woa/WebServerResources/ \
|
|
|
|
/usr/lib/GNUstep/SOGo/WebServerResources/
|
|
|
|
Alias /SOGo.woa/WebServerResources/ \
|
|
|
|
/usr/lib/GNUstep/SOGo/WebServerResources/
|
|
|
|
Alias /SOGO.woa/WebServerResources/ \
|
|
|
|
/usr/lib/GNUstep/SOGo/WebServerResources/
|
|
|
|
|
|
|
|
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*jpg">
|
|
|
|
SetHandler default-handler
|
|
|
|
</LocationMatch>
|
|
|
|
|
|
|
|
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*png">
|
|
|
|
SetHandler default-handler
|
|
|
|
</LocationMatch>
|
|
|
|
|
|
|
|
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*gif">
|
|
|
|
SetHandler default-handler
|
|
|
|
</LocationMatch>
|
|
|
|
|
|
|
|
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*css">
|
|
|
|
SetHandler default-handler
|
|
|
|
</LocationMatch>
|
|
|
|
|
|
|
|
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*js">
|
|
|
|
SetHandler default-handler
|
|
|
|
</LocationMatch>
|
|
|
|
|
|
|
|
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
|
|
|
|
/usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
|
|
|
|
|
|
|
|
<Proxy balancer://sogocluster>
|
2009-09-25 17:22:50 +02:00
|
|
|
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
|
|
|
|
RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
|
|
|
|
|
|
|
|
## adjust the following to your configuration
|
|
|
|
RequestHeader set "x-webobjects-server-port" "443"
|
|
|
|
RequestHeader set "x-webobjects-server-name" "yourhostname"
|
|
|
|
RequestHeader set "x-webobjects-server-url" "https://yourhostname"
|
|
|
|
|
|
|
|
## When using proxy-side autentication, you need to uncomment and
|
|
|
|
## adjust the following line:
|
|
|
|
# RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
|
|
|
|
|
2009-08-17 22:07:54 +02:00
|
|
|
BalancerMember http://127.0.0.1:20000 retry=1 max=1 timeout=120
|
|
|
|
# If you enable those, don't forget the enable the spawning of multiple SOGo
|
|
|
|
# processes. With Redhat-based distributions, this is done by setting the
|
|
|
|
# "PREFORK" variable in /etc/sysconfig/sogo to the amount of processes as
|
|
|
|
# value.
|
|
|
|
# BalancerMember http://127.0.0.1:20001 retry=1 max=1 timeout=120
|
|
|
|
# BalancerMember http://127.0.0.1:20002 retry=1 max=1 timeout=120
|
|
|
|
ProxySet lbmethod=byrequests maxattempts=1
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</Proxy>
|
|
|
|
|
|
|
|
SetEnv proxy-nokeepalive 1
|
|
|
|
ProxyRequests Off
|
|
|
|
ProxyPass /SOGo balancer://sogocluster/SOGo
|