[Mono-list] mod_mono 0.6 issues on SuSe 9.0

Jim Erwin mono@eyekahn.com
Fri, 19 Dec 2003 14:26:42 -0600


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é, 17-12-2003 a las 04:00, Jim Erwin escribió:
> > 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