Bugzilla – Bug 8055
allows Apache to serve ASP.NET pages
Last modified: 2007-04-01 00:08:36 UTC
mod_mono allows Apache to serve ASP.NET pages by proxying the requests to a slightly modified version of XSP called mod-mono-server that is installed along with XSP.
Created attachment 3930 [details] mod_mono.tar.bz2
This fails with (using apr/apr-util 0.9.6): gcc -DHAVE_CONFIG_H -I. -I. -I../include -O -march=pentium3 -mmmx -mfpmath=sse -msse -pipe -DPIC -fPIC -Os -I/usr/include/apache2 -I/usr/include/apr -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -Wall -DDFLT_MONO_CONFIG_DIR=\"/etc/httpd/mod-mono-applications\" -O -march=pentium3 -mmmx -mfpmath=sse -msse -pipe -DPIC -fPIC -Os -I/usr/include/apache2 -I/usr/include/apr -O -march=pentium3 -mmmx -mfpmath=sse -msse -pipe -DPIC -fPIC -Os -pthread -MT mod_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c mod_mono.c -fPIC -DPIC -o .libs/mod_mono_la-mod_mono.o In file included from /usr/include/apache2/httpd.h:30, from mod_mono.h:47, from mod_mono.c:31: /usr/include/apache2/ap_config.h:21:23: apr_hooks.h: No such file or directory /usr/include/apache2/ap_config.h:22:32: apr_optional_hooks.h: No such file or directory In file included from mod_mono.h:47, from mod_mono.c:31: /usr/include/apache2/httpd.h:40:25: apr_buckets.h: No such file or directory /usr/include/apache2/httpd.h:666:21: apr_uri.h: No such file or directory In file included from mod_mono.h:48, from mod_mono.c:31: /usr/include/apache2/http_core.h:22:26: apr_optional.h: No such file or directory make[2]: *** [mod_mono_la-mod_mono.lo] Error 1 make[2]: Leaving directory `/usr/src/mod_mono-1.0.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mod_mono-1.0.6'
Does it work with APR 1? Maybe they decided not to support 0.9.
I get this error with apr/apr-util 1.0.1 and 1.1.0: gcc -DHAVE_CONFIG_H -I. -I. -I../include -O -march=pentium3 -mmmx -mfpmath=sse -msse -pipe -DPIC -fPIC -Os -I -I/usr/include/apr -DAPACHE13 -DEAPI -Wall -DDFLT_MONO_CONFIG_DIR=\"/mod-mono-applications\" -O -march=pentium3 -mmmx -mfpmath=sse -msse -pipe -DPIC -fPIC -Os -I -I/usr/include/apr -DAPACHE13 -DEAPI -MT mod_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c mod_mono.c -fPIC -DPIC -o .libs/mod_mono_la-mod_mono.o In file included from mod_mono.c:31: mod_mono.h:47:19: httpd.h: No such file or directory mod_mono.h:48:23: http_core.h: No such file or directory mod_mono.h:49:22: http_log.h: No such file or directory mod_mono.h:50:25: http_config.h: No such file or directory mod_mono.h:65:25: multithread.h: No such file or directory mod_mono.h:113:22: ap_alloc.h: No such file or directory make[2]: *** [mod_mono_la-mod_mono.lo] Error 1 make[2]: Leaving directory `/usr/src/mod_mono-1.0.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mod_mono-1.0.6'
(In reply to comment #2) > This fails with (using apr/apr-util 0.9.6): ... > -msse -pipe -DPIC -fPIC -Os -I/usr/include/apache2 -I/usr/include/apr ... > /usr/include/apache2/ap_config.h:21:23: apr_hooks.h: No such file or directory > /usr/include/apache2/ap_config.h:22:32: apr_optional_hooks.h: No such file or ... have just got mod_mono 1.0.6 building against apr/apr-util 0.9.6 it needs an -I/usr/include/apr-0 which is where apr-util puts its includes that mod_mono cant find. Still to try with 1.0.1/1.1.0
Simply use $(apr-config --includes) instead of -I/usr/include/apr...
Created attachment 4344 [details] mod_mono.tar.bz2 Updated version to 1.0.9 and added configure.in.diff to fix lack of apr-util includes during build.
Created attachment 4414 [details] mod_mono.tar.bz2 Update to latest version 1.1.9.2
Created attachment 4443 [details] mod_mono.tar.bz2
Created attachment 4501 [details] mod_mono.tar.bz2 update to version 1.1.10.1
Created attachment 4600 [details] mod_mono.tar.bz2 keep in sync with mono, bump version to 1.1.13
Hi Its good to the the spell added but what happened here the history says bug #9283 which its not and the one that was added was from 10/05 though there have only been version updates scince then. I'm using bugs.sourcemage.org is this wrong, I remember there was some funny stuff with bugzilla when SMGL was restored. 2006-01-21 George Sherwood <george@beernabeer.com> * ALL: Added spell to grimoire (Bug #9283) * DETAILS: Updated to 1.1.13, SOURCE_HASH 2005-10-29 Richard Johns <johnsr@lincoln.ac.nz> * DETAILS: VERSION 1.1.9.2, MD5
reassign to sm-grimoire-bugs