Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Normally, in mono/mod_mono/xsp and apache, the MonoAutoApplication directive should enable autohosting/autoconfiguration in mod_mono. However, adding this directive (MonoAutoApplication "enabled") to /etc/modules.d/70_mod_mono.conf does not provide this functionality. I have at least version 1.1.10 of mono, mod_mono, xsp and libgdiplus, thus according to this site: http://www.mono-project.com/AutoHosting it should work. However, it does not. The .aspx pages outsite predefined applications are simply not parsed. Any ideas? Here goes emerge info: Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL" LC_ALL="pl_PL" LINGUAS="pl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib accessibility acpi acpi4linux alsa apache2 arts asf audiofile autofs avi berkdb bidi bitmap-fonts browserplugin bzip2 cdinstall cdparanoia cdr crypt css cups curl devfs dga divx4linux doc dvb dvd dvdr dvdread eds emboss encode escreen esd exif expat fam fbcon ffmpeg flac flash foomaticdb fortran gcj gd gdbm gif gimpprint glut gmp gphoto2 gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 jack java jpeg junit kadu-modules kadu-voice kde lcms libg++ libwww lirc mad matroska md5sum mhash midi mikmod ming mjpeg mmx mng motif mozilla mp3 mpeg ncurses nls nvidia objc odbc ogg oggvorbis openal opengl oss pam pcre pda pdflib perl png pnp ppds python qt quicktime readline real recode ruby samba scanner sdl slang snmp spell sqlite sse sse2 ssl svga tcltk tcpd tetex tiff timidity truetype truetype-fonts type1 type1-fonts udev usb v4l videos vim-with-x vorbis win32codecs wxwindows xine xml xml2 xmms xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
bump. I don't believe nobody uses this feature :(
I get the same problem. Maybe it has to do with the old configuration scheme. I even followed the mono website's documentation and it doesn't work neither. Internal server error I get. In the logs, I have a message about "Cannot start mod-mono-server because no MonoApplications are configured". MonoStartXSP is set to TRUE I thought I didn't have to configure a MonoApplication with the auto-configuration feature... ???
Works for me when i change the 70_mod_mono.conf file so it actually looks remotely similar to the one in mod_mono's svn. <IfDefine MONO> MonoAutoApplication Enabled <IfModule !mod_mono.c> LoadModule mono_module modules/mod_mono.so AddType application/x-asp-net .aspx AddType application/x-asp-net .asmx AddType application/x-asp-net .ashx AddType application/x-asp-net .asax AddType application/x-asp-net .ascx AddType application/x-asp-net .soap AddType application/x-asp-net .rem AddType application/x-asp-net .axd AddType application/x-asp-net .cs AddType application/x-asp-net .config AddType application/x-asp-net .Config AddType application/x-asp-net .dll DirectoryIndex index.aspx DirectoryIndex Default.aspx DirectoryIndex default.aspx </IfModule> </IfDefine>
(In reply to comment #3) When I modify my mod_mono module include file like above, it works as well.
Fixed in CVS, thanks