ifolder/www-apps/ifolder3-enterprise/files/simias-server-setup.diff
geos_one f7526328cb delete
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1641 6952d904-891a-0410-993b-d76249ca496b
2009-12-05 16:50:49 +00:00

31 lines
1.0 KiB
Diff

--- src/server/setup/SimiasServerSetup.cs 2007-10-29 18:30:06.000000000 -0600
+++ src/server/setup/SimiasServerSetup.cs.new 2008-01-24 12:22:21.000000000 -0700
@@ -580,6 +580,9 @@
apacheUser.Prompt = apacheGroup.Prompt = true;
}
+ apacheUser.Value = "apache";
+ apacheGroup.Value = "apache";
+
}
bool Configure()
@@ -1143,7 +1146,7 @@
/// </summary>
void SetupModMono()
{
- string path = Path.GetFullPath( "/etc/apache2/conf.d/simias.conf" );
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/simias.conf" );
Console.Write("Configuring {0}...", path);
if ( apache.Value == true )
@@ -1167,8 +1170,6 @@
string alias = "simias10";
- writer.WriteLine( "Include /etc/apache2/mod_mono.conf" );
- writer.WriteLine();
writer.WriteLine("Alias /{0} \"{1}\"", alias, SimiasSetup.webdir);
writer.WriteLine("AddMonoApplications {0} \"/{0}:{1}\"", alias, SimiasSetup.webdir);
writer.WriteLine("MonoSetEnv {0} \"SimiasRunAsServer=true;SimiasDataDir={1}\"", alias, this.storePath);