2007-07-20 23:03:42 +02:00
|
|
|
Alias /SOGo.woa/WebServerResources/ \
|
2009-03-19 02:22:09 +01:00
|
|
|
/usr/GNUstep/System/Library/SOGo/WebServerResources/
|
2009-09-11 16:38:43 +02:00
|
|
|
Alias /SOGo/WebServerResources/ \
|
2009-03-19 02:22:09 +01:00
|
|
|
/usr/GNUstep/System/Library/SOGo/WebServerResources/
|
2009-09-11 16:38:43 +02:00
|
|
|
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/ \
|
2009-11-12 19:30:21 +01:00
|
|
|
# /usr/lib/GNUstep/SOGo/WebServerResources/
|
2009-09-11 16:38:43 +02:00
|
|
|
# Alias /SOGo/WebServerResources/ \
|
2009-11-12 19:30:21 +01:00
|
|
|
# /usr/lib/GNUstep/SOGo/WebServerResources/
|
2009-09-11 16:38:43 +02:00
|
|
|
# AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
|
2009-11-12 19:30:21 +01:00
|
|
|
# /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
|
2007-07-20 23:05:53 +02:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2009-09-11 16:38:43 +02:00
|
|
|
## 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
|
2009-11-12 19:30:21 +01:00
|
|
|
ProxyPassInterpolateEnv On
|
|
|
|
ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate
|
2009-09-11 16:38:43 +02:00
|
|
|
|
2009-11-12 19:30:21 +01:00
|
|
|
<Proxy http://127.0.0.1:20000/SOGo>
|
2009-09-11 16:38:43 +02:00
|
|
|
## 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:
|
2009-09-11 16:44:16 +02:00
|
|
|
# RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
|
2009-09-11 16:38:43 +02:00
|
|
|
|
2009-11-12 19:30:21 +01:00
|
|
|
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
|
|
|
|
RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
|
|
|
|
|
2009-09-11 16:38:43 +02:00
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
2009-01-22 16:25:20 +01:00
|
|
|
</Proxy>
|