Index: trunk/debs/testswarm/debian/testswarm.apache.conf |
— | — | @@ -1,8 +1,8 @@ |
2 | 2 | Alias /testswarm /usr/share/testswarm/site |
3 | 3 | |
4 | | -<DirectoryMatch /usr/share/testswarm/site> |
| 4 | +<Directory /usr/share/testswarm/site> |
5 | 5 | Options +FollowSymLinks |
6 | | - AllowOverride None |
| 6 | + AllowOverride All |
7 | 7 | order allow,deny |
8 | 8 | allow from all |
9 | 9 | |
— | — | @@ -10,5 +10,5 @@ |
11 | 11 | php_value include_path . |
12 | 12 | |
13 | 13 | DirectoryIndex index.php |
14 | | -</DirectoryMatch> |
| 14 | +</Directory> |
15 | 15 | |
Index: trunk/debs/testswarm/debian/testswarm.postinst |
— | — | @@ -25,6 +25,9 @@ |
26 | 26 | |
27 | 27 | ucf --debconf-ok /usr/share/doc/testswarm/testswarm.apache.conf /etc/testswarm/apache.conf |
28 | 28 | |
| 29 | +# Enable mode rewrite! |
| 30 | +a2enmod rewrite |
| 31 | + |
29 | 32 | # Symlink default conf if there is none |
30 | 33 | if [ ! -e "/etc/apache2/conf.d/testswarm.conf" ]; then |
31 | 34 | ln -s /etc/testswarm/apache.conf /etc/apache2/conf.d/testswarm.conf |