[OGo-Users] Configuration Apache 2 for opengroupware 1.1

Adam Tauno Williams users@opengroupware.org
Fri, 24 Nov 2006 06:02:09 -0500


> Sorry for my delayed reply. I wasn't able to reply sooner. Anyhow, I
> picked the following configuration from the debian installation
> documentation, which i added to my httpd.conf:
> ------------------------------------------------
> LoadModule ngobjweb_module <path to the ngobjweb module>
> AddModule ngobjweb_module.c
> <LocationMatch "^/OpenGroupware*">
> SetHandler ngobjweb-adaptor
> SetAppPort 20000
> </LocationMatch>
> Alias /OpenGroupware10a.woa/WebServerResources/ \
>       /usr/local/share/opengroupware.org-1.1/www/
> ------------------------------------------------
> I know it's paths are wrong and i was going to repair this later.
> However when, with this configuration, i give a "service httpd reload"
> it awnsers: 
> Reloading httpd
>  Apache 1.3 configuration directives found
> (I must say, now I read it again, I feel this might not be an error but
> just informative. But it still doesn't feel right). 

My OpenSuSE box with apache2-2.0.53-9.15 has:

LoadModule ngobjweb_module /usr/lib/apache2/mod_ngobjweb.so
<DirectoryMatch /usr/local/share/opengroupware.org-([0-9a-zA-Z]{1}).([0-9a-zA-Z]{1,})/www>
  Order allow,deny
  Allow from all
</DirectoryMatch>
AliasMatch
^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) /usr/local/share/opengroupware.org-$1.$2/www/$3
Alias /ArticleImages /var/lib/opengroupware.org/news
<IfModule ngobjweb_module.c>
  <LocationMatch ^/OpenGroupware*>
    SetAppPort 20000
    SetHandler ngobjweb-adaptor
  </LocationMatch>
</IfModule>

More recent boxes with apache2-2.2.0-21.7 have the same thing.