Gentoo Archives: gentoo-commits

From: "Jurek Bartuszek (jurek)" <jurek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/mod_mono/files/1.9: 70_mod_mono.conf
Date: Sat, 31 May 2008 12:44:31
Message-Id: E1K2QRd-0001j6-Sy@stork.gentoo.org
1 jurek 08/05/31 12:44:25
2
3 Added: 70_mod_mono.conf
4 Log:
5 www-apache/mod_mono: Version bump (bug #213381)
6 (Portage version: 2.1.4.4)
7 (Signed Manifest commit)
8
9 Revision Changes Path
10 1.1 www-apache/mod_mono/files/1.9/70_mod_mono.conf
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_mono/files/1.9/70_mod_mono.conf?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_mono/files/1.9/70_mod_mono.conf?rev=1.1&content-type=text/plain
14
15 Index: 70_mod_mono.conf
16 ===================================================================
17 # For more information on the Mono* directives, see the man page for
18 # mod_mono(8)
19
20 <IfDefine MONO>
21 # Set this to False if you manage your ASP.Net server manually through
22 # /etc/init.d/mod-mono-server
23 MonoRunXSP True
24
25 # Set this to Enabled if you want to enable AutoHosting.
26 # See http://www.mono-project.com/AutoConfiguration for more info.
27 # Note that if you want your automatically hosted applications
28 # handled by ASP.NET 2.0 engine you have to enable the aspnet2 USE flag.
29 MonoAutoApplication Enabled
30
31 <IfModule !mod_mono.c>
32 LoadModule mono_module modules/mod_mono.so
33 </IfModule>
34
35 <IfModule mod_mime.c>
36 AddType application/x-asp-net .aspx
37 AddType application/x-asp-net .asmx
38 AddType application/x-asp-net .ashx
39 AddType application/x-asp-net .asax
40 AddType application/x-asp-net .ascx
41 AddType application/x-asp-net .soap
42 AddType application/x-asp-net .rem
43 AddType application/x-asp-net .axd
44 AddType application/x-asp-net .cs
45 AddType application/x-asp-net .config
46 AddType application/x-asp-net .Config
47 AddType application/x-asp-net .dll
48
49 DirectoryIndex index.aspx
50 DirectoryIndex Default.aspx
51 DirectoryIndex default.aspx
52 </IfModule>
53
54 ### Please also add "-D MONO_DEMO" in order to activate out-of-the-box mono demo
55 ###
56
57 # Note that the test application runs on a separate mod-mono-server
58 # instance named "testinst". Athought this is not mandatory, it shows how to
59 # distribute workload between multiple mod-mono-servers. For more info see:
60 # http://www.mono-project.com/Mod_mono
61
62 <IfDefine MONO_DEMO>
63 <IfModule mod_alias.c>
64 Alias /mono "/usr/lib/xsp/test"
65 </IfModule>
66
67 # You might want to specify the version of mod-mono-server
68 # instance that will handle your application. The default
69 # value depends on whether the aspnet2 USE flag was set
70 # during compilation
71 #MonoServerPath testinst /usr/lib/mono/1.0/mod-mono-server.exe
72 #MonoServerPath testinst /usr/lib/mono/2.0/mod-mono-server2.exe
73
74 AddMonoApplications testinst "/mono:/usr/lib/xsp/test"
75
76 <Directory /usr/lib/xsp/test>
77 SetHandler mono
78 MonoSetServerAlias testinst
79
80 <IfModule mod_authz_host.c>
81 Order allow,deny
82 Allow from all
83 </IfModule>
84 <IfModule mod_dir.c>
85 # Sample ASP.NET 1.1/2.0 applications can be accessed
86 # via index2.aspx.
87 DirectoryIndex index.aspx
88 #DirectoryIndex index2.aspx
89 </IfModule>
90 </Directory>
91 </IfDefine>
92 ### MONO_DEMO end.
93
94 </IfDefine>
95
96
97
98 --
99 gentoo-commits@l.g.o mailing list