[Fusionforge-commits] r9657 - in trunk/gforge: etc/httpd.d plugins/mediawiki plugins/mediawiki/etc/httpd.d

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Apr 29 23:28:55 CEST 2010


Author: cbayle
Date: 2010-04-29 23:28:55 +0200 (Thu, 29 Apr 2010)
New Revision: 9657

Modified:
   trunk/gforge/etc/httpd.d/07maindirhttp.vhost.ssl
   trunk/gforge/plugins/mediawiki/README
   trunk/gforge/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki
Log:
Reuse mediawiki skins


Modified: trunk/gforge/etc/httpd.d/07maindirhttp.vhost.ssl
===================================================================
--- trunk/gforge/etc/httpd.d/07maindirhttp.vhost.ssl	2010-04-29 21:28:46 UTC (rev 9656)
+++ trunk/gforge/etc/httpd.d/07maindirhttp.vhost.ssl	2010-04-29 21:28:55 UTC (rev 9657)
@@ -80,6 +80,7 @@
 RedirectMatch 301 ^({sys_urlprefix}plugins/mediawiki/wiki/[-a-zA-Z0-9_]*)/*$ $1/index.php
 AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/[-a-zA-Z0-9_]*/index.php {usr_share_gforge}/www/plugins/mediawiki/index.php
 AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/([-a-zA-Z0-9_]*)/images/(.*) {var_lib_gforge}/plugins/mediawiki/projects/$1/images/$2
+AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/([-a-zA-Z0-9_]*)/skins/(.*) /usr/share/gforge/www/plugins/mediawiki/skins/$2
 
 <Directory {var_lib_gforge}/plugins/mediawiki>
         Options +FollowSymLinks -Indexes

Modified: trunk/gforge/plugins/mediawiki/README
===================================================================
--- trunk/gforge/plugins/mediawiki/README	2010-04-29 21:28:46 UTC (rev 9656)
+++ trunk/gforge/plugins/mediawiki/README	2010-04-29 21:28:55 UTC (rev 9657)
@@ -41,7 +41,7 @@
   has to be run by a user that can write to the FusionForge var
   directory.
 
-5. Adapt and add the contents of the file etc/httpd.d/03mediawiki to
+5. Adapt and add the contents of the file etc/httpd.d/61plugin-mediawiki to
    your apache configuration. To do that, the script "setup" might be
    helpful. Furthermore, adapt and add the following lines to the
    apache configuration:
@@ -49,6 +49,7 @@
 RedirectMatch 301 ^({sys_urlprefix}plugins/mediawiki/wiki/[-a-zA-Z0-9_]*)/*$ $1/index.php
         AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/[-a-zA-Z0-9_]*/index.php {usr_share_gforge}/www/plugins/mediawiki/index.php
         AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/([-a-zA-Z0-9_]*)/images/(.*) {var_lib_gforge}/plugins/mediawiki/projects/$1/images/$2
+	AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/([-a-zA-Z0-9_]*)/skins/(.*) /usr/share/gforge/www/plugins/mediawiki/skins/$2
 
 6. Add the cronjob in etc/cron.d/mediawiki to the FusionForge
    crontab. To do that, the script "setup" might be helpful.

Modified: trunk/gforge/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki
===================================================================
--- trunk/gforge/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki	2010-04-29 21:28:46 UTC (rev 9656)
+++ trunk/gforge/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki	2010-04-29 21:28:55 UTC (rev 9657)
@@ -2,6 +2,7 @@
 RedirectMatch 301 ^({sys_urlprefix}plugins/mediawiki/wiki/[-a-zA-Z0-9_]*)/*$ $1/index.php
 AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/[-a-zA-Z0-9_]*/index.php {usr_share_gforge}/www/plugins/mediawiki/index.php
 AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/([-a-zA-Z0-9_]*)/images/(.*) {var_lib_gforge}/plugins/mediawiki/projects/$1/images/$2
+AliasMatch ^{sys_urlprefix}plugins/mediawiki/wiki/([-a-zA-Z0-9_]*)/skins/(.*) /usr/share/gforge/www/plugins/mediawiki/skins/$2
 
 <Directory {var_lib_gforge}/plugins/mediawiki>
         Options +FollowSymLinks -Indexes




More information about the Fusionforge-commits mailing list