[Mono-list] Re: Unable to deploy an ASP.NET application
Bradley, Peter
PBradley at uwic.ac.uk
Thu Feb 23 09:54:07 EST 2006
OK. Fixed that. The url it wants is:
http://localhost:8888/MSc/test.aspx
My bad again, I think.
And it works. So the answer to the original question is that it works
using a standalone XSP.
Sorry about the mistakes. I'm trying to do this in odd moments between
other jobs.
Cheers
Peter
-----Original Message-----
From: Robert Jordan [mailto:robertj at gmx.de]
Sent: 23 February 2006 13:20
To: Bradley, Peter
Subject: Re: [Mono-list] Re: Unable to deploy an ASP.NET application
Hi Peter,
> I started a standalone xsp as you suggest - typing everything just as
> you give it, as root. XSP seemed to start OK, from the messages.
>
> I then entered http://linmono.uwic.ac.uk:8888/MSc/test.aspx in Konq
and
> got an Object Not Found error back. I also tried localhost:8888, with
> the same result.
"Object Not Found" is an Apache error message, so it seems that
your Apache is listening on 8888 as well.
Robert
>
> Does this suggest anything:
>
> 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: 23 February 2006 12:24
> To: Mono-list at lists.ximian.com
> Subject: [Mono-list] Re: Unable to deploy an ASP.NET application
>
> Hi Peter,
>
>> Yes, I use Apache + mod_mono.
>
> Did you already try whether a standalone XSP (w/out Apache+mod_mono)
> is working?
>
> cd /usr/lib/xsp/test
> xsp --port 8888 --applications /MSc:./MSc
>
> http://linmono.uwic.ac.uk/MSc/test.aspx
>
> Robert
>
>> My Apache2 configuration is the default except for the following
added
>> to the end of the file:
>>
>> ########################################################
>>
>> LoadModule mono_module /usr/lib/apache2/mod_mono.so
>> Alias /AspNetOnApache "/usr/lib/xsp/test"
>>
>> <Directory /usr/lib/xsp/test>
>> SetHandler mono
>> <IfModule mod_dir.c>
>> DirectoryIndex index.aspx
>> </IfModule>
>> Allow from all
>> </Directory>
>>
>> <Directory /usr/lib/xsp/test/MSc>
>> SetHandler mono
>> <IfModule mod_dir.c>
>> DirectoryIndex index.aspx
>> </IfModule>
>> Allow from all
>> </Directory>
>>
>> #############################################################
>>
>> This was copied (pretty much) from a CodeProject article. I tried to
>> alter the alias to something more sensible, but without success so I
>> decided to stick with what I had. This means that the url for my
>> project is:
>>
>> http://linmono.uwic.ac.uk/AspNetOnApache/MSc/Initial.aspx
>>
>> (
>> or as it stands at present because your test project is in there:
>>
>> http://linmono.uwic.ac.uk/AspNetOnApache/MSc/test.aspx
>> )
>>
>> I think the only thing I changed from the CodeProject article was to
> add
>> the <Directory> element for the sub-directory and add the "Allow from
>> all" line in both <Directory> elements on advice from the list in
> order
>> to overcome "Access Denied" errors from Apache.
>>
>> Cheers
>>
>>
>> Peter
>>
>>
>> -----Original Message-----
>> From: winzen at online.de [mailto:winzen at online.de]
>> Sent: 23 February 2006 10:15
>> To: Bradley, Peter
>> Subject: AW: RE: Unable to deploy an ASP.NET application
>>
>> Hi Peter,
>>
>> you can forward the mail to the mailing list.
>> I just have some more questions. How do you run your webapp on Linux,
>> with xsp or Apache+mod_mono? If you use Apache i could mail you my
>> config settings because on my system the described pattern (just
> copying
>> the aspx+bin) works fine. So i have no idea why your Linux box does
> not
>> find/use the dll in the bin dir...
>>
>> Greetings
>>
>> Jochen Winzen
>>
>> _______________________________________________
>> 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