[Mono-list] Re: httpHandlers under mono

Robert Jordan robertj at gmx.net
Fri Oct 14 15:32:43 EDT 2005


Robert Jordan wrote:
> Harry,
> 
>> Ok, I have an httpHandler that works fine under MS.NET 
>> <http://MS.NET>. It
>> doesn't seem to do anything under mod_mono (apache) or XSP. In my
>> web.configfile, I have:
>>
>> * <httpHandlers>
>> <add verb="*" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />
>> </httpHandlers>
>>
>> *But navigating to http://site/ajax/common.ashx simply returns a 
>> "directory
>> not found" with this stack trace:
>>
>> System.IO.DirectoryNotFoundException: Could not find a part of the
>> path "/usr/share/TKWeb/ajax".
> 
> 
> Does ajax exist? Create it, even when it makes to sense in your context.

It won't help. It seems that <add path="..."> is not allowed
to contain a directory.

Rob



More information about the Mono-list mailing list