mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-16 20:33:19 +00:00
Monotone-Parent: 78e8177b7871651ba9b05f971e1b40376fb5e49d
Monotone-Revision: 8e4f10d6d171bd7c241c05d63d20efa7f2a66de4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-11T14:38:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
+47
-14
@@ -1,9 +1,17 @@
|
||||
Alias /sogo.woa/WebServerResources/ \
|
||||
/usr/GNUstep/System/Library/SOGo/WebServerResources/
|
||||
Alias /SOGo.woa/WebServerResources/ \
|
||||
/usr/GNUstep/System/Library/SOGo/WebServerResources/
|
||||
Alias /SOGO.woa/WebServerResources/ \
|
||||
Alias /SOGo/WebServerResources/ \
|
||||
/usr/GNUstep/System/Library/SOGo/WebServerResources/
|
||||
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
|
||||
/usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2
|
||||
|
||||
## For Debian-based distributions, use the following instead of the above:
|
||||
# Alias /SOGo.woa/WebServerResources/ \
|
||||
# /usr/lib/GNUstep/SOGo/WebServerResources/
|
||||
# Alias /SOGo/WebServerResources/ \
|
||||
# /usr/lib/GNUstep/SOGo/WebServerResources/
|
||||
# AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
|
||||
# /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
|
||||
|
||||
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*jpg">
|
||||
SetHandler default-handler
|
||||
@@ -25,20 +33,45 @@ Alias /SOGO.woa/WebServerResources/ \
|
||||
SetHandler default-handler
|
||||
</LocationMatch>
|
||||
|
||||
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
|
||||
/usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2
|
||||
## Uncomment the following to enable proxy-side authentication, you will then
|
||||
## need to set the "SOGoTrustProxyAuthentication" SOGo user default to YES and
|
||||
## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section
|
||||
## below.
|
||||
#<Location /SOGo>
|
||||
# AuthType XXX
|
||||
# Require valid-user
|
||||
# SetEnv proxy-nokeepalive 1
|
||||
# Allow from all
|
||||
#</Location>
|
||||
|
||||
ProxyRequests Off
|
||||
SetEnv proxy-nokeepalive 1
|
||||
ProxyPreserveHost On
|
||||
ProxyPass /SOGo balancer://sogocluster/SOGo
|
||||
|
||||
<Proxy balancer://sogocluster>
|
||||
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.
|
||||
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
|
||||
RequestHeader set "x-webobjects-remote-addr" "127.0.0.1"
|
||||
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" "%{WEBAUTH_USER}e"
|
||||
|
||||
BalancerMember http://127.0.0.1:30000 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.
|
||||
## In Debian-based distributions, you should do the same in the
|
||||
## /etc/default/sogo file instead.
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user