mds/app-admin/mmc-web-base/files/mmc-web-base-2.3.2-gentoo-1.patch
2009-02-17 11:32:31 +00:00

33 lines
1.1 KiB
Diff

Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-02-17
Initial Package Version: 2.3.2
Origin: me
Upstream Status: unknown
Description: add a define rule to aktivate the mmc alias rules
diff -Naur mmc-web-base-2.3.2.orig/confs/apache/mmc.conf.tmpl mmc-web-base-2.3.2/confs/apache/mmc.conf.tmpl
--- mmc-web-base-2.3.2.orig/confs/apache/mmc.conf.tmpl 2007-09-10 09:11:01.000000000 +0000
+++ mmc-web-base-2.3.2/confs/apache/mmc.conf.tmpl 2009-02-17 11:25:59.006502344 +0000
@@ -1,10 +1,12 @@
-### Add an alias /mmc on www server root
-Alias /mmc ###DATADIR###
+<IfDefine MMC>
+ ### Add an alias /mmc on www server root
+ Alias /mmc ###DATADIR###
-### Allow access to lmc web directory to everyone
-<Directory ###DATADIR###>
- AllowOverride None
- Order allow,deny
- allow from all
+ ### Allow access to lmc web directory to everyone
+ <Directory ###DATADIR###>
+ AllowOverride None
+ Order allow,deny
+ allow from all
php_flag short_open_tag on
-</Directory>
+ </Directory>
+</IfDefine>
\ No newline at end of file