[Mono-list] mono and apache2
Massimiliano Vella
millemille1000@tiscali.it
Wed, 23 Feb 2005 21:17:55 +0100
Sorry for my late! Dear Gonzalo, I think that you refer to my
mono-server-hosts.conf and debian.webapp:
# Default configuration, don't edit it!
<IfModule mod_mono.c>
MonoUnixSocket /tmp/.mod_mono_server
MonoServerPath /usr/share/dotnet/bin/mod-mono-server.exe
AddType
application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
MonoApplicationsConfigDir /etc/mono-server
MonoPath /usr/share/dotnet/lib:/usr/lib:/usr/share/dotnet/lib:
# start /etc/mono-server/conf.d/PaginaTest.aspx/10_PaginaTest.aspx
Alias /PaginaTest.aspx "/home/max/ASPNET"
<Directory /home/max/ASPNET>
SetHandler mono
<IfModule mod_dir.c>
DirectoryIndex index.aspx
</IfModule>
</Directory>
# end /etc/mono-server/conf.d/PaginaTest.aspx/10_PaginaTest.aspx
# start /etc/mono-server/conf.d/asp.net-examples/10_asp.net-examples
Alias /samples "/usr/share/asp.net-demos/asp"
<Directory /usr/share/asp.net-demos/asp>
SetHandler mono
<IfModule mod_dir.c>
DirectoryIndex index.aspx
</IfModule>
<apps>
<web-application>
<name>PaginaTest.aspx</name>
<vpath>/PaginaTest.aspx</vpath>
<path>/home/max/ASPNET</path>
<vhost>localhost</vhost>
<port>80</port>
</web-application>
<web-application>
<name>samples</name>
<vpath>/samples</vpath>
<path>/usr/share/asp.net-demos/asp</path>
<vhost>localhost</vhost>
<port>80</port>
</web-application>
<web-application>
<name>monodoc</name>
<vpath>/monodoc</vpath>
<path>/usr/share/dotnet/monodoc/web</path>
<vhost>localhost</vhost>
<port>80</port>
</web-application>
</apps>
Thanks for the help!
Max