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

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 03 Feb 2004 23:56:38 +0100


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