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

Bill Bill@schroedertechnologies.com
Sat, 14 Feb 2004 09:45:02 -0600


Did this ever get resolved?  If so, what fixed it?  I'm having the same
problem.

Thanks,
Bill


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



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

-----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ó:
> 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.
>
> I have mod_mono_server running fine, and the module seems to load fine.
>
> 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:
>
> 	Server error in '/mono' application
> 	Cannot find '/mono/index.aspx'.
> 	Description: Error processing request.
> 	Error Message: HTTP 404. Cannot find '/mono/index.aspx'.
>
> /mono is aliased to /usr/share/doc/xsp/test
>
> And if I put other files in that folder (ie, html files) they load fine.
>
> 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...

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

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.583 / Virus Database: 369 - Release Date: 2/10/2004