sogo/Main
Wolfgang Sourdeau 33feb0ad55 Monotone-Parent: 4e9f5938ca342e44af0613239dac20a78aeaf51c
Monotone-Revision: 6dec7484ebbfdc7dfd486aa0a64dac77680a6a66

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-29T22:19:09
Monotone-Branch: ca.inverse.sogo
2007-06-29 22:19:09 +00:00
..
ChangeLog.upstream - renamed old and obsolete ChangeLogs to Changelog.upstream; 2006-07-04 20:13:47 +00:00
GNUmakefile see ChangeLog 2006-06-15 19:34:10 +00:00
GNUmakefile.preamble Monotone-Parent: 21ace498e8c818ef3f8598f9edbc4ce7b967ee85 2007-06-29 21:47:56 +00:00
MainUIProduct.m see ChangeLog 2006-06-15 19:34:10 +00:00
README see ChangeLog 2006-06-15 19:34:10 +00:00
SOGo.m Monotone-Parent: 4e9f5938ca342e44af0613239dac20a78aeaf51c 2007-06-29 22:19:09 +00:00
SOGoProductLoader.h see ChangeLog 2006-06-15 19:34:10 +00:00
SOGoProductLoader.m Monotone-Parent: c3bd0a3d6929473b847955d02a59506bd78f6b42 2007-06-29 22:17:54 +00:00
Version see ChangeLog 2006-06-15 19:34:10 +00:00
fhs.make see ChangeLog 2006-06-15 19:34:10 +00:00
sogod.m Monotone-Parent: a0f68502f87ffdb7d7c28d10cb89869cca34487f 2007-06-29 21:55:16 +00:00

README

SOGo
====

Master Daemon, loads the functionality from product bundles in Library/SOGo.

Setup
=====

  Defaults write sogod NGBundlePath '"$HOME/Library/SOGo"'
  => otherwise some bundles will clash with "fat" OGo
  => the UIx .wox driver must be found


Defaults
========

  SOGoDefaultLanguage - string - currently used for selecting the language of
  the mail templates. Default is "French".

  SOGoCrashOnSessionCreate - bool - crash the server if a session is created
  => useful for debugging

  SOGoEnableDoubleReleaseCheck - bool - call
  +[NSAutoreleasePool enableDoubleReleaseCheck:YES] upon start
  => useful for debugging

SOGoInternetDetectQualifier
- an EOQualifier to detect whether a set of HTTP headers is from the outside,
  eg: "NOT (minequprovenance = 'intranet')"
      -SOGoInternetDetectQualifier '"NOT (minequprovenance = \"intranet\")"'
  Note: all header field names are lowercase
  Testing: -SOGoInternetDetectQualifier '"host = \"agenor.opengroupware.org\""'

AgenorProfileURL - URL
- configure database location of the user profile
  eg: http://postgres:@agenor-db:5432/test/sogo_user_profile

SOGoDoNotRedirectRootPage - YES|NO
- do not redirect to home-folder for authenticated users but show the
  root page (with the login name)


What it does
============
- provides locale support
- preloads the SOGo products (SOGoProductLoader)
- provides the root object (the application object with user lookup)
- sets the authenticator
- does some process limits and restart support


Apache Setup
============

  AliasMatch /SOGoHH/so/ControlPanel/Products/(.*)/Resources/(.*) \
             /home/helge/GNUstep/Library/SOGo-0.9/$1.SOGo/Resources/$2

  <LocationMatch "^/SOGoHH*">
    AuthName "Agenor LDAP"
    AuthType Basic
    AuthLDAPEnabled on
    AuthLDAPUrl ldap://agenor-ldap:389/ou=organisation,dc=equipement,dc=gouv,dc=fr??sub?(&(objectClass=person)(uid=*))
    require valid-user

    SetHandler ngobjweb-adaptor
    SetAppPort 9000
  </LocationMatch>

  <LocationMatch "^/SOGoHH/so/ControlPanel/Products/.*UI/Resources/.*(\.png$|\.gif$|\.css$|\.js$)">
    SetHandler default-handler
  </LocationMatch>


FHS Setup
=========

NOTE: use the appname, sogo-0.9, not the tool name (sogod-0.9)!

cd /usr/local/share
mkdir sogo-0.9/
cd sogo-0.9/
ln -s ~/dev/SOGo-trunk/UI/Templates ./templates
ln -s ~/dev/SOGo-trunk/UI/WebServerResources ./www

Apache:

Alias /SOGo.woa/WebServerResources/ \
      /usr/local/share/sogo-0.9/www/