ifolder/www-apps/ifolder3-enterprise/files/mod_mono_iFolderWebSetup_cs.patch
geos_one 2bb9cb61b7 bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@2911 6952d904-891a-0410-993b-d76249ca496b
2011-06-08 15:26:24 +00:00

32 lines
1.4 KiB
Diff

Index: simias-trunk20100511/src/server/setup/iFolderWebSetup.cs
===================================================================
--- simias-trunk20100511.orig/src/server/setup/iFolderWebSetup.cs 2010-05-11 20:25:34.124021446 -0400
+++ simias-trunk20100511/src/server/setup/iFolderWebSetup.cs 2010-05-11 20:26:04.914020328 -0400
@@ -456,7 +456,7 @@
using(StreamWriter writer = File.CreateText(path))
{
/* example
- Include /etc/apache2/conf.d/mod_mono.conf
+ Include /etc/apache2/modules.d/70_mod_mono.conf
Alias /ifolder "/usr/webaccess"
AddMonoApplications ifolder "/ifolder:/usr/webaccess"
@@ -478,14 +478,14 @@
sslPrefix = "#";
}
if( iFolderMonoPath != null )
- writer.WriteLine( "Include {0}{1}", iFolderMonoPath, "/etc/apache2/conf.d/mod_mono.conf" );
+ writer.WriteLine( "Include {0}{1}", iFolderMonoPath, "/etc/apache2/modules.d/70_mod_mono.conf" );
else
{
- string mod_mono2_path = "/etc/apache2/conf.d/mod_mono.conf";
+ string mod_mono2_path = "/etc/apache2/modules.d/70_mod_mono.conf";
if( File.Exists( mod_mono2_path ))
writer.WriteLine( "Include {0}", mod_mono2_path );
else
- writer.WriteLine( "Include {0}", "/etc/apache2/mod_mono.conf" );
+ writer.WriteLine( "Include {0}", "/etc/apache2/modules.d/70_mod_mono.conf" );
}
writer.WriteLine();
writer.WriteLine("Alias /{0} \"{1}\"", alias, webPath);