[Mono-list] Re: Configuring Apache for mono

Bradley, Peter PBradley at uwic.ac.uk
Tue Feb 28 08:23:47 EST 2006


Robert (et al),

You are absolutely right: and I am delighted.

I'm not sure what had happened with Red Carpet.  I re-subscribed to the
mono 1.1 channel and tried to get mod_mono 1.1.13 without success, but
when I then removed the old version of mod_mono and tried again, it
offered me 1.1.13.0.  It skipped xsp 1.1.13 (something about invalid
arch or some such), but installed mod_mono.

I then followed the instructions and everything works just fine.

O me of little faith!

Thanks to you and the other members of the list for all your help and
patience.  FWIW you'll all get an honourable mention in the finished
dissertation :)

Cheers


Peter

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Robert Jordan
Sent: 27 February 2006 20:49
To: Mono-list at lists.ximian.com
Subject: [Mono-list] Re: Configuring Apache for mono

Bradley,

> This doesn't seem to be the problem unless I'm missing something.  I
can
> only find one version of mod_mono.so on the machine.  There is a link
> called mod_mono.so, which points to mod_mono.so.0.0.0.
> 
> According to RedCarpet, I have mod_mono 1.0.6-4, which provides
> mod_mono.so.0

Mod_mono 1.0.6 is a very old version, so I don't understand why
do you thing this is not a problem.

If Red Carpet doesn't provide the latest version (1.1.13),
you have to compile mod_mono from sources:

http://go-mono.com/sources/

> 
> So this all looks OK to me.
> 
> I've got an absolutely bog standard out-of-the-box setup, so I confess
> to getting a little frustrated.  Is there anyone who can suggest what
I
> can try, given that following the instructions doesn't appear to work?
> 
> Thanks
> 
> 
> Peter
> 
> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com
> [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gonzalo
> Paniagua Javier
> Sent: 26 February 2006 00:09
> To: mono-list at lists.ximian.com
> Subject: Re: [Mono-list] Configuring Apache for mono
> 
> On Sat, 2006-02-25 at 12:53 +0000, Bradley, Peter wrote:
>> This thread was: "Unable to deploy ASP.NET application on Apache"
> [...]
>> Starting at the paragraph entitled "Configuring Mod_Mono", I stopped
>> apache and added the following to my http.conf:
> 
>> LoadModule mono_module /usr/lib/apache2/mod_mono.so
> 
>> Alias /test "/usr/lib/xsp/test"
>> AddMonoApplications default "/test:/usr/lib/xsp/test"
> 
>> <Location /test>
>>             SetHandler mono
>> </Location>
> 
>> When I tried to restart apache, I got the following error message:
> 
>> "Invalid command 'AddMonoApplications', perhaps mis-spelled or
defined
>> by a module not included in the server configuration"
> 
> You might have an old version of mod_mono.so around.
> 
> -Gonzalo
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 

_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list