[Mono-aspnet-list] HttpHandler to handle all kinds of URL’s in Mono Apache in order to build a REST service

Robert Jordan robertj at gmx.net
Tue Apr 6 11:06:02 EDT 2010


On 06.04.2010 16:28, vtortola wrote:
>
> Hi,
>
> I've replaced "AddHandler mono *" for "SetHandler mono" in the
> mod_mono.conf, and it's not working, I got an Error 404 when I try to open a
> url that has no physical representation.
>
> For example, I have an "index.html" file in the folder, so if I open : "
> http://192.168.1.74/testwithmono/index.html" it works fine, but if I try to
> open "http://192.168.1.74/testwithmono/lalala/lelele" it returns an Error
> 404. The handler right now is returning a XML whatever be the request, and
> in the Windows machine works fine.
>
> Am I missing something?

Disable autohosting:

	MonoAutoApplication disabled

Robert



More information about the Mono-aspnet-list mailing list