[Mono-list] apache, mod_mono, httpHandlers & 404 problem.

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Sun, 10 Apr 2005 23:02:53 -0400


On Mon, 2005-04-11 at 09:16 +1000, simon wrote:
[...]
> If i use the following in my apache config i get page not found errors 
> when i request the url for an httpHander
>         <Location /TestApp>
>                AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
>         </Location>
> 
> The problem is that the the url for httpHandler doesnt exist as an aspx 
> page, apache seems to be deciding that the actual file doesnt  exist 
> before it passes the request to mod_mono.
> In this case the problem is not critical, however if i was using a front 
> controller or something where the requested page doesnt necessarily 
> exist then there would be all sorts of problems.
> 
> Im after this behaviour as i want apache to serve the static content 
> instead of passing the request to mod_mono to do it.

Do you have an Alias for /TestApp?

-Gonzalo