Hello Ludovic,

Thanks for your advices.

Therefore, I have moved the SOGo.conf (in the latest version of SOGo - 1.3.4) in my apache configuration file and delete the proxy balancer section.
Apache doesn't want to restart ... May be I'm a stupid guy :S !!

Please find my config file below :

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>
## adjust the following to your configuration
  RequestHeader set "x-webobjects-server-port" "80"
  RequestHeader set "x-webobjects-server-name" "sogo2.perax.net"
  RequestHeader set "x-webobjects-server-url" "http://sogo2.perax.net"

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
  RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
  RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST

  AddDefaultCharset UTF-8
  Order allow,deny
  Allow from all
</Proxy>

Apache don't know the differents sections "RequestHeader".

My apache logs :
 * Restarting web server apache2                                                                                                                           
Syntax error on line 40 of /etc/apache2/conf.d/SOGo.conf:
Invalid command 'RequestHeader', perhaps misspelled or defined by a module not included in the server configuration
[fail]

May be I need an additional module for Apache ?

Everything is configured like you said...

Thanks for your feedback.
Regards.


Le 23/11/2010 16:08, Ludovic Marcotte a écrit :
On 10-11-23 9:59 AM, Edouard Leib wrote:
Hello Ludovic,

Could you please be more accurate ? Or explain what is wrong in my config file ?

<Proxy balancer://sogocluster>
  BalancerMember http://127.0.0.1:20000 retry=3 max=1 timeout=120
  BalancerMember http://127.0.0.1:20001 retry=3 max=1 timeout=120
  BalancerMember http://127.0.0.1:20002 retry=3 max=1 timeout=120
  ProxySet lbmethod=byrequests maxattempts=1
  Allow from all
  AddDefaultCharset UTF-8
</Proxy>
Look at the SOGo.conf Apache configuration included in the latest version of SOGo. You don't need anymore  Proxy balancer/BalanceMember.

Regards,
-- 
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) 

--


PERAX SA - Automates de télégestion
Edouard Leib - el...@perax.fr
Administrateur réseaux, systèmes et téléphonie
Tél. +33 (0)5 62 75 95 71
PERAX SA - Automates de télégestion / Automates de télégestion - w w w . p e r a x . f r
Avant d'imprimer, ayez une pensée pour notre environnement

Reply via email to