d2eefcc257
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@1606 6952d904-891a-0410-993b-d76249ca496b
35 lines
1.1 KiB
Diff
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>
|