[Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0

Luke Stephenson lstephenson@rogers.com
Tue, 3 Feb 2004 18:02:16 -0500


Sorry, I should have included my mod_mono related entries from =
http.conf:

AddType application/x-asp-net .aspx .ashx .asmx  .ascx .asax .config
LoadModule mono_module /usr/local/apache2/modules/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /mono "/usr/share/doc/xsp/test"

Cheers,

Luke
 	=20
-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Gonzalo Paniagua
Javier
Sent: Tuesday, February 03, 2004 5:57 PM
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0

El mar, 03-02-2004 a las 23:07, Luke Stephenson escribi=F3:
> I have setup mod_mono as per the instructions in the INSTALL file, =
with
the
> exception that apache listens on a different port then 8080.
>=20
> I have mod_mono_server running fine, and the module seems to load =
fine.
>=20
> But whenever I try to access any ASP.NET files in /mono I get a 404... =
a
> mod_mono_server error, not the standard apache error:
>=20
> 	Server error in '/mono' application
> 	Cannot find '/mono/index.aspx'.
> 	Description: Error processing request.
> 	Error Message: HTTP 404. Cannot find '/mono/index.aspx'.
>=20
> /mono is aliased to /usr/share/doc/xsp/test
>=20
> And if I put other files in that folder (ie, html files) they load =
fine.=20
>=20
> Not sure what I am missing, I have followed all the install info I =
could
> find to the letter, but I have been having a lot of problems...=20

You're probably missing:
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
.ascx

in your apache configuration file.

-Gonzalo


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