[OGo-Users] internal server error when adding AuthType to LocationMatch directive in ogo-webui.conf

Sebastian Reitenbach users@opengroupware.org
Wed, 19 Dec 2007 15:39:02 +0100


Hi, 

I want to protect the / directory via .htaccess authentication, but not use 
it for OGo.

Therefore I changed the ogo-webui.conf file I added a line into the 
LocationMatch directive of OGo:

<IfModule ngobjweb_module.c>
  <LocationMatch ^/OpenGroupware*>
    SetAppPort 20000
    SetHandler ngobjweb-adaptor
    AuthType None
  </LocationMatch>
</IfModule>

When I then reload apache, and then try again login to ogo, the Apache 
authentication is away, but I get an internal server error, with a line like 
this in the error logs:

[Wed Dec 19 15:12:10 2007] [error] (9)Bad file descriptor: 
apr_socket_accept: (client socket)

I also tried to add the AuthType none in the DirectoryMatch in that file 
too, but that ended in the same problem.

It is working well for the /newsimages Location and other subdirectories, 
but just not for OGo. 

When I get the internal server error, then nothing happens in the ogo logs, 
when I remove the AuthType line, and reload apache, everything starts 
working again.

Any idea what is going wrong maybe a problem of mod_ngobjweb?
I am running mod_ngobjweb-2.0.54-r1476 on opensuse 10.2 i586.

kind regards
Sebastian