ifolder/www-apps/ifolder3-enterprise/files/mod_mono_iFolderAdminSetup_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

28 lines
1.3 KiB
Diff

Index: simias-1.8.3.9328.1+dfsg/src/server/setup/iFolderAdminSetup.cs
===================================================================
--- simias-1.8.3.9328.1+dfsg.orig/src/server/setup/iFolderAdminSetup.cs 2010-04-24 14:26:03.074801984 -0400
+++ simias-1.8.3.9328.1+dfsg/src/server/setup/iFolderAdminSetup.cs 2010-04-24 14:28:09.214998380 -0400
@@ -413,7 +413,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"
@@ -438,11 +438,11 @@
writer.WriteLine( "Include {0}{1}", iFolderMonoPath, "/etc/apache2/conf.d//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);