[mapguide-commits] r9996 - trunk/Tools/MgInstantSetup/InstantSetup.Core

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Oct 26 08:31:03 PDT 2022


Author: jng
Date: 2022-10-26 08:31:03 -0700 (Wed, 26 Oct 2022)
New Revision: 9996

Modified:
   trunk/Tools/MgInstantSetup/InstantSetup.Core/ApacheSetupConfigurationProcess.cs
Log:
#2852: InstantSetup: Add same mod_fcgid path workaround as Windows installer custom action

Modified: trunk/Tools/MgInstantSetup/InstantSetup.Core/ApacheSetupConfigurationProcess.cs
===================================================================
--- trunk/Tools/MgInstantSetup/InstantSetup.Core/ApacheSetupConfigurationProcess.cs	2022-10-26 15:27:39 UTC (rev 9995)
+++ trunk/Tools/MgInstantSetup/InstantSetup.Core/ApacheSetupConfigurationProcess.cs	2022-10-26 15:31:03 UTC (rev 9996)
@@ -106,6 +106,9 @@
             httpdBuffer.Replace("%MG_WEB_ROOT%", Apachify(this.WebTierPublicDir));
             httpdBuffer.Replace("%MG_WEB_PORT%", this.ApachePortNumber.ToString(CultureInfo.InvariantCulture));
             httpdBuffer.Replace("%MG_WEB_PHP%", Apachify(this.WebTierPhpDir));
+            // BS: The FcgidWrapper directive of mod_fcgid on windows can't handle paths with spaces
+            // if they're not escapd!
+            httpdBuffer.Replace("%MG_WEB_PHP_FCGI%", Apachify(this.WebTierPhpDir).Replace(" ", "\\ "));
             httpdBuffer.Replace("%MG_WEB_APACHE%", Apachify(this.WebTierApacheDir));
             httpdBuffer.Replace("%MG_VIRTUAL_DIR%", this.VirtualDirectoryName);
 



More information about the mapguide-commits mailing list