requisitos -->> apache2
1.- apt-get install libapache2-mod-mono
2.- apt-get install mono-apache-server2
3 .-a2enmod mod_mono
[ /etc/apache2/mods-enabled]# cat mod_mono.conf
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
DirectoryIndex index.aspx
# Include the web application definitions generated by mono-server(2)-update.
#
# If want want to use ASP.NET 1.1 (via mono-apache-server), use:
# Include /etc/mono-server/mono-server-hosts.conf
#
# If you want to use ASP.NET 2.0 (via mono-apache-server2), use:
# Include /etc/mono-server2/mono-server2-hosts.conf
Include /etc/mono-server2/mono-server2-hosts.conf
MonoAutoApplication enabled
No hay comentarios:
Publicar un comentario