From c5195d410f754d7be4bd40369c3095562dd69e8f Mon Sep 17 00:00:00 2001 From: frank Date: Mon, 7 Nov 2005 13:45:47 +0000 Subject: [PATCH] outstanding fix - replacing fixed locations to regex matched ones. git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1172 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- maintenance/mod_ngobjweb_conectiva10.spec | 10 ++++++---- maintenance/mod_ngobjweb_fedora.spec | 10 ++++++---- maintenance/mod_ngobjweb_mdk100.spec | 10 ++++++---- maintenance/mod_ngobjweb_mdk101.spec | 10 ++++++---- maintenance/mod_ngobjweb_redhat9.spec | 10 ++++++---- maintenance/mod_ngobjweb_rhel3.spec | 10 ++++++---- maintenance/mod_ngobjweb_rhel4.spec | 10 ++++++---- maintenance/mod_ngobjweb_sles9.spec | 10 ++++++---- maintenance/mod_ngobjweb_slss8.spec | 10 ++++++---- maintenance/mod_ngobjweb_suse100.spec | 10 ++++++---- maintenance/mod_ngobjweb_suse82.spec | 10 ++++++---- maintenance/mod_ngobjweb_suse91.spec | 10 ++++++---- maintenance/mod_ngobjweb_suse92.spec | 10 ++++++---- maintenance/mod_ngobjweb_suse93.spec | 10 ++++++---- 14 files changed, 84 insertions(+), 56 deletions(-) diff --git a/maintenance/mod_ngobjweb_conectiva10.spec b/maintenance/mod_ngobjweb_conectiva10.spec index f27bb553..ca6e2e87 100644 --- a/maintenance/mod_ngobjweb_conectiva10.spec +++ b/maintenance/mod_ngobjweb_conectiva10.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -128,12 +129,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_fedora.spec b/maintenance/mod_ngobjweb_fedora.spec index b94f392d..6b717de1 100644 --- a/maintenance/mod_ngobjweb_fedora.spec +++ b/maintenance/mod_ngobjweb_fedora.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_mdk100.spec b/maintenance/mod_ngobjweb_mdk100.spec index 771d298a..5f945341 100644 --- a/maintenance/mod_ngobjweb_mdk100.spec +++ b/maintenance/mod_ngobjweb_mdk100.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_mdk101.spec b/maintenance/mod_ngobjweb_mdk101.spec index 5db18315..157eabdd 100644 --- a/maintenance/mod_ngobjweb_mdk101.spec +++ b/maintenance/mod_ngobjweb_mdk101.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_redhat9.spec b/maintenance/mod_ngobjweb_redhat9.spec index 6db80b8f..0d966134 100644 --- a/maintenance/mod_ngobjweb_redhat9.spec +++ b/maintenance/mod_ngobjweb_redhat9.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_rhel3.spec b/maintenance/mod_ngobjweb_rhel3.spec index f43eae25..7d5984f0 100644 --- a/maintenance/mod_ngobjweb_rhel3.spec +++ b/maintenance/mod_ngobjweb_rhel3.spec @@ -68,12 +68,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -125,12 +126,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_rhel4.spec b/maintenance/mod_ngobjweb_rhel4.spec index 9d44b492..d1be4e81 100644 --- a/maintenance/mod_ngobjweb_rhel4.spec +++ b/maintenance/mod_ngobjweb_rhel4.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_sles9.spec b/maintenance/mod_ngobjweb_sles9.spec index 0864a039..c1707346 100644 --- a/maintenance/mod_ngobjweb_sles9.spec +++ b/maintenance/mod_ngobjweb_sles9.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_slss8.spec b/maintenance/mod_ngobjweb_slss8.spec index 83fcc82c..361f1580 100644 --- a/maintenance/mod_ngobjweb_slss8.spec +++ b/maintenance/mod_ngobjweb_slss8.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_suse100.spec b/maintenance/mod_ngobjweb_suse100.spec index 54e133dc..a57bd852 100644 --- a/maintenance/mod_ngobjweb_suse100.spec +++ b/maintenance/mod_ngobjweb_suse100.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_suse82.spec b/maintenance/mod_ngobjweb_suse82.spec index e6ad89a5..40674270 100644 --- a/maintenance/mod_ngobjweb_suse82.spec +++ b/maintenance/mod_ngobjweb_suse82.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_suse91.spec b/maintenance/mod_ngobjweb_suse91.spec index 0864a039..c1707346 100644 --- a/maintenance/mod_ngobjweb_suse91.spec +++ b/maintenance/mod_ngobjweb_suse91.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_suse92.spec b/maintenance/mod_ngobjweb_suse92.spec index 0864a039..c1707346 100644 --- a/maintenance/mod_ngobjweb_suse92.spec +++ b/maintenance/mod_ngobjweb_suse92.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up diff --git a/maintenance/mod_ngobjweb_suse93.spec b/maintenance/mod_ngobjweb_suse93.spec index 4347a38c..ac6c8979 100644 --- a/maintenance/mod_ngobjweb_suse93.spec +++ b/maintenance/mod_ngobjweb_suse93.spec @@ -69,12 +69,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up @@ -126,12 +127,13 @@ if [ $2 = 1 ]; then echo "# configuration needed to access the OGo webui # # explicitly allow access - + Order allow,deny Allow from all # required aliases -Alias /OpenGroupware11.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.1/www/ +AliasMatch ^/OpenGroupware([0-9a-zA-Z]{1})([0-9a-zA-Z]{1,})\.woa/WebServerResources/(.*) \ + %{prefix}/share/opengroupware.org-$1.$2/www/$3 Alias /ArticleImages %{_var}/lib/opengroupware.org/news # # hook up -- 2.39.5