mds/app-admin/mmc-web-base/files/mmc-web-base-2.3.2-gentoo-3.patch
2009-12-05 07:13:18 +00:00

35 lines
1.1 KiB
Diff

Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-12-05
Initial Package Version: 2.3.2
Origin: me
Upstream Status: gentoo specific
Description: wrap mmc alias in define and disable php_flag
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 2009-12-05 06:59:51.263532054 +0000
+++ mmc-web-base-2.3.2/confs/apache/mmc.conf.tmpl 2009-12-05 07:05:06.997531963 +0000
@@ -1,11 +1,12 @@
-### 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
- php_flag short_open_tag on
- php_flag magic_quotes_gpc on
-</Directory>
+<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
+ ### php_flag short_open_tag on
+ ### php_flag magic_quotes_gpc on
+ </Directory>
+</IfDefine>