[mapguide-commits] r7831 - sandbox/jng/webtier_upgrade_v2/MgDev/Oem/LinuxApt

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Sep 2 06:13:41 PDT 2013


Author: jng
Date: 2013-09-02 06:13:40 -0700 (Mon, 02 Sep 2013)
New Revision: 7831

Modified:
   sandbox/jng/webtier_upgrade_v2/MgDev/Oem/LinuxApt/build_apt.sh
Log:
Update generated httpd.conf/mapguide.conf in build_apt.sh

Modified: sandbox/jng/webtier_upgrade_v2/MgDev/Oem/LinuxApt/build_apt.sh
===================================================================
--- sandbox/jng/webtier_upgrade_v2/MgDev/Oem/LinuxApt/build_apt.sh	2013-08-31 17:36:00 UTC (rev 7830)
+++ sandbox/jng/webtier_upgrade_v2/MgDev/Oem/LinuxApt/build_apt.sh	2013-09-02 13:13:40 UTC (rev 7831)
@@ -293,6 +293,8 @@
 echo "" > tmpfile
 echo "Include conf/mapguide.conf" >> tmpfile
 cp httpd.conf httpd.conf.mgorig_
+# Activate mod_rewrite
+sed -i "s/#LoadModule rewrite_module modules\/mod_rewrite.so/LoadModule rewrite_module modules\/mod_rewrite.so/g" httpd.conf.mgorig_
 cat httpd.conf.mgorig_ tempfile > httpd.conf
 rm httpd.conf.mgorig_
 popd
@@ -345,8 +347,7 @@
 <Directory "$INSTALLWEB/www/">
   AllowOverride All
   Options All
-  Order allow,deny
-  Allow from all
+  Require all granted
 
   AddHandler php5-script .php
   AddHandler mgmapagent_handler fcgi



More information about the mapguide-commits mailing list