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

Bill Bill@schroedertechnologies.com
Sun, 15 Feb 2004 16:23:02 -0600


YAHOO!!!!  I finally have it working!!

>From what I can tell, I did 2 things wrong.  The first thing I didn't do was
cd to the directory where my asp.net code is and then start
mod-mono-server.exe.  The second thing I didn't do was restart Apache after
starting mod-mono-server.exe.

Thanks,
Bill


-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of Luke Stephenson
Sent: Sunday, January 18, 2004 11:05 AM
To: 'Bill'; 'Gonzalo Paniagua Javier'; mono-list@lists.ximian.com
Subject: RE: [Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0


Unfortunately not :(
It has been almost a week since I have "fiddled" with it though,
If you have any ideas, let me know :)

The other thing is that apache is listening on a odd port... 7580, because
it is a test server that I want to keep obscure.

Cheers,

Luke Stephenson
LSCS
Computer Systems Engineering
lstephenson@rogers.com

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Bill
Sent: Saturday, February 14, 2004 10:45 AM
To: Luke Stephenson; 'Gonzalo Paniagua Javier'; mono-list@lists.ximian.com
Subject: RE: [Mono-list] mod_mono 0.7 HTTP error 404, apache 2.0

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

_______________________________________________
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.583 / Virus Database: 369 - Release Date: 2/10/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