Hi,

My SOGo installation work on Centos with Apache (httpd). And after upgrade to
new version 2.0.5a (from 2.0.4) I have a problem with adding and modifying
calendar events. 

I receive error 502 (Proxy Error) - The proxy server an invalid response from
an upstream server (error reading from remote server). I try many tricks, but
after 2 days SOGo still doesn't work. So please help with configuration.

My sogo.conf:

{
  SOGoProfileURL = "mysql://sogo:pass@localhost:3306/sogo/sogo_user_profile";
  OCSFolderInfoURL = "mysql://sogo:pass@localhost:3306/sogo/sogo_folder_info";
  OCSSessionsFolderURL =
"mysql://sogo:pass@localhost:3306/sogo/sogo_sessions_folder";

  SOGoSMTPServer = 127.0.0.1;
  SOGoMailDomain = gwizdek;

  SOGoUserSources =
    (
      {
        type = sql;
        id = directory;
        viewURL = "mysql://sogo:pass@127.0.0.1:3306/sogo/sogo_view";
        canAuthenticate = YES;
        isAddressBook = YES;
        userPasswordAlgorithm = none;
      }
    );

  SOGoPageTitle = SOGo;

  SOGoLanguage = English;
  SOGoTimeZone = Europe/Warsaw;
  SOGoCalendarDefaultRoles = (
    PublicDAndTViewer,
    ConfidentialDAndTViewer
  );
}

And SOGo.conf for httpd:

Alias /SOGo.woa/WebServerResources/ /usr/lib64/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ /usr/lib64/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*)
/usr/lib64/GNUstep/SOGo/$1.SOGo/Resources/$2

<Directory /usr/lib64/GNUstep/SOGo/>
    AllowOverride None
    Order deny,allow
    Allow from all

    <IfModule expires_module>
      ExpiresActive On
      ExpiresDefault "access plus 1 year"
    </IfModule>
</Directory>

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

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0

<Proxy http://127.0.0.1:20000/SOGo>
  RequestHeader set "x-webobjects-server-port" "80"
  RequestHeader set "x-webobjects-server-name" "gwizdek"
  RequestHeader set "x-webobjects-server-url" "http://gwizdek";

  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"

  AddDefaultCharset UTF-8

  Order allow,deny
  Allow from all
</Proxy>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to