[Mono-list] mod_mono 0.6 issues on SuSe 9.0
Jim Erwin
mono@eyekahn.com
Wed, 31 Dec 2003 21:44:56 -0600
Chris,
I created a new user named wwmono.
I downloaded the latest apache 2 source tarball and compiled from source
using the same instructions as provided in the mod_mono documentation.
The only real difference was that I configured apache to install into
/home/wwwmono/apache2.
This is done as follows
./configure --prefix==/home/wwwmono/apache2 --enable-so
I created a directory /home/wwwmono/xsptest
I then copied /usr/local/share/doc/xsp/test with cp -R
/usr/local/share/xsp/test/*
I did all the configuration stuff in httpd.conf as in the mod_mono
documentation.
After starting up the server, doing chmod 666 /tmp/mod_mono_server and
restarting apache, all of the samples worked correctly.
Now if I could just get it to correctly read my config.......
regards,
JE
On Mon, 2003-12-29 at 10:51, Chris Townsend wrote:
> Hi Jim,
>
> I'd love to hear how you resolve this if you do. I too am running SuSe 9.0 and am having difficulty getting it going.
>
> Chris Townsend
>
> -----Original Message-----
> From: Jim Erwin [mailto:mono@eyekahn.com]
> Sent: Friday, December 19, 2003 3:27 PM
> To: Mono List
> Subject: Re: [Mono-list] mod_mono 0.6 issues on SuSe 9.0
>
>
> Gonzalo,
>
> Sorry for originally replying to just you instead of the list. I'm still
> getting the hang of a new e-mail client.
>
> Thanks for your suggestion. You were right about the path.
> Unfortunately, modifying the permissions did not resolve my issue. I'm
> starting to suspect that the issue has something to do with the apache2
> package on SuSe 9.0 and how it's compiled. I'm planning on rebuilding
> Apache from the latest source tarball unless somebody else has a
> compelling (and working) solution to suggest.
>
> I'll keep the list informed of my progress (and hopefully my success)
> after rebuilding apache and trying again.
>
> regards,
>
> --
> Jim Erwin <mono@eyekahn.com>
> Eyekahn\VDSI
>
> On Tue, 2003-12-16 at 22:22, Gonzalo Paniagua Javier wrote:
> > El miÃf©, 17-12-2003 a las 04:00, Jim Erwin escribiÃf³:
> > > I am running SuSe 9.0 with the most recent updated Apache 2 packages
> > > installed. I have downloaded, configured, and compiled the following
> > > tarballs:
> > >
> > > mono-0.29.tar.gz
> > > mcs-0.29.tar.gz
> > > xsp-0.8.tar.gz
> > > mod_mono-0.6.tar.gz
> > >
> > > I have everything configured with a prefix of /usr/local
> > >
> > > The way the configuration files for Apache are set up in SuSe 9.0 is
> > > rather funky. I have attempted to make modifications in the appropriate
> > > config files for all of the entries listed by the INSTALL file in the
> > > mod_mono tarball, but eventually removed them from inidividual config
> > > files and added them to a config file that gets placed at the end of the
> > > configuration for your custom entries (httpd.local.conf) and included
> > > this with the appropriate directives in the apache configuration.
> > >
> > >
> > > AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
> > > .ascx
> > > LoadModule mono_module /usr/lib/apache2/mod_mono.so
> > > MonoUnixSocket /tmp/mod_mono_server
> > > Alias /mono "/usr/share/doc/xsp/test"
> >
> > That should be "/usr/local/share/doc/xsp/test" for you, right?
> >
> > >
> > > After dealing with various permissions issues in the way the default
> > > configuration of apache is set up on SuSe 9.0, I got to a point where I
> > > had everything set up correctly (according to the documentation). I
> > > start mod-mono-server with the following line.
> > >
> > > mono /usr/local/bin/mod-mono-server.exe --root
> > > /usr/local/share/doc/xsp/test --applications
> > > /mono:/usr/local/share/doc/xsp/test
> > >
> > > I verified that the configuration points correctly to
> > > /tmp/mod-mono-server for the socket. I set the permissions on that file
> > > to 777 after starting mod-mono-server.exe. The message from
> > > mod-mono-server.exe gives me the impression that it all starts and
> > > points to the right places. Unfortunately, if I try to pull up
> > > http://localhost/mono/index.aspx It prompts me to open or save the file.
> > > If I open, it shows me the source of the aspx file. It's as if a handler
> > > never gets set up for sending the requests to the socket file. I thought
> > > just loading the mono module
> > >
> > > The requests generate no errors in the apache error log. I just don't
> > > get my requests compiled and parsed as an asp.net page should be.
> > >
> > > Suggestions on how to get this to work would be appreciated.
> >
> > Apart from that, make sure that all the directories in the path
> > /usr/local/share/doc/xsp/test are +rx for the user running apache and
> > all the files in there too.
> >
> > -Gonzalo
> >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
--
Jim Erwin <mono@eyekahn.com>
Eyekahn\VDSI