Pastebin

Paste #2052: sogo-vhost

< previous paste - next paste>

Pasted by root@sogo

Download View as text

<VirtualHost 123.123.123.123:443>
  SSLEngine On
  SSLCertificateFile /data/certs/local/sogo.mydomain.org.crt
  SSLCertificateKeyFile /data/certs/local/sogo.mydomain.org.key
  ServerName sogo.mydomain.org
  ServerAdmin webmaster@mydomain.org
  DocumentRoot /data/www/virtual/sogo.mydomain.org/htdocs
  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
  <Directory /usr/lib/GNUstep/SOGo/>
      AllowOverride None
      Order deny,allow
      Allow from all
  </Directory>
  <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>
  ProxyRequests Off
  SetEnv proxy-nokeepalive 1
  ProxyPreserveHost On
  ProxyPassInterpolateEnv On
  ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate
  <Proxy http://127.0.0.1:20000/SOGo>
    RequestHeader set "x-webobjects-server-port" "80"
    RequestHeader set "x-webobjects-server-name" "sogo.mydomain.org"
    RequestHeader set "x-webobjects-server-url" "http://sogo.mydomain.org"
    RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
    RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
    AddDefaultCharset UTF-8
    Order allow,deny
    Allow from all
  </Proxy>
</VirtualHost>

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.