Harry Holt wrote:
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".
http://bugzilla.ximian.com/show_bug.cgi?id=76443
In the meanwhile you may either use just path=*.ashx", if your
site doesn't contain other *.ashx files, or create
the directory "ajax" and put a web.config file containing
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<httpHandlers>
<add verb="*" path="*.ashx" ... />
</httpHandlers>
</system.web>
</configuration>
and remove the handler from the main web.config.
Rob
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list