r103888 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103887‎ | r103888 | r103889 >
Date:09:15, 22 November 2011
Author:hashar
Status:deferred
Tags:
Comment:
enable apache rewriting

a2enmod let us enable mod_rewrite module
DirectoryMatch does not honour .htaccess files for some reasons :(
Modified paths:
  • /trunk/debs/testswarm/debian/testswarm.apache.conf (modified) (history)
  • /trunk/debs/testswarm/debian/testswarm.postinst (modified) (history)

Diff [purge]

Index: trunk/debs/testswarm/debian/testswarm.apache.conf
@@ -1,8 +1,8 @@
22 Alias /testswarm /usr/share/testswarm/site
33
4 -<DirectoryMatch /usr/share/testswarm/site>
 4+<Directory /usr/share/testswarm/site>
55 Options +FollowSymLinks
6 - AllowOverride None
 6+ AllowOverride All
77 order allow,deny
88 allow from all
99
@@ -10,5 +10,5 @@
1111 php_value include_path .
1212
1313 DirectoryIndex index.php
14 -</DirectoryMatch>
 14+</Directory>
1515
Index: trunk/debs/testswarm/debian/testswarm.postinst
@@ -25,6 +25,9 @@
2626
2727 ucf --debconf-ok /usr/share/doc/testswarm/testswarm.apache.conf /etc/testswarm/apache.conf
2828
 29+# Enable mode rewrite!
 30+a2enmod rewrite
 31+
2932 # Symlink default conf if there is none
3033 if [ ! -e "/etc/apache2/conf.d/testswarm.conf" ]; then
3134 ln -s /etc/testswarm/apache.conf /etc/apache2/conf.d/testswarm.conf

Status & tagging log