[Mono-list] Re: Unable to deploy an ASP.NET application
Robert Jordan
robertj at gmx.net
Thu Feb 23 07:23:58 EST 2006
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
>
More information about the Mono-list
mailing list