fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf
fi
# ****************************** trigger ******************************
-%triggerin -- ogo-webui-app, ogoall
+%triggerin -- ogo-webui-app
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo webui
#
" >%{apache_conf_dir}/ogo-webui.conf
fi
-%triggerin -- ogo-xmlrpcd, ogoall
+%triggerin -- ogo-xmlrpcd
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo XMLRPCd via http
#
" >%{apache_conf_dir}/ogo-xmlrpcd.conf
fi
-%triggerin -- ogo-zidestore, ogoall
+%triggerin -- ogo-zidestore
if [ $2 = 1 ]; then
echo "# configuration needed to access the OGo ZideStore via http
#
" >%{apache_conf_dir}/ogo-zidestore.conf
fi
-%triggerun -- ogo-webui-app, ogoall
+%triggerin -- ogoall
+if [ $2 = 1 ]; then
+echo "# configuration needed to access the OGo webui
+#
+# explicitly allow access
+<Directory %{prefix}/share/opengroupware.org-1.0a/www>
+ Order allow,deny
+ Allow from all
+</Directory>
+# required aliases
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/OpenGroupware*">
+ SetAppPort 20000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-webui.conf
+echo "# configuration needed to access the OGo XMLRPCd via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/RPC2*">
+ SetAppPort 22000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-xmlrpcd.conf
+echo "# configuration needed to access the OGo ZideStore via http
+#
+# hook up
+<IfModule ngobjweb_module.c>
+ <LocationMatch "^/zidestore/*">
+ SetAppPort 21000
+ SetHandler ngobjweb-adaptor
+ </LocationMatch>
+</IfModule>
+" >%{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogoall
+if [ $2 = 0 ]; then
+ if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-webui.conf
+ if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
+ if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
+ rm -f %{apache_conf_dir}/ogo-zidestore.conf
+fi
+
+%triggerun -- ogo-webui-app
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-webui.conf ]; then
rm -f %{apache_conf_dir}/ogo-webui.conf
fi
fi
-%triggerun -- ogo-xmlrpcd, ogoall
+%triggerun -- ogo-xmlrpcd
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-xmlrpcd.conf ]; then
rm -f %{apache_conf_dir}/ogo-xmlrpcd.conf
fi
fi
-%triggerun -- ogo-zidestore, ogoall
+%triggerun -- ogo-zidestore
if [ $2 = 0 ]; then
if [ -f %{apache_conf_dir}/ogo-zidestore.conf ]; then
rm -f %{apache_conf_dir}/ogo-zidestore.conf