[Mono-devel-list] HttpHandler
Cezar Nasui
cezar.nasui at polymtl.ca
Wed Oct 1 14:44:21 EDT 2003
Hello Gonzalo,
Just to let you know it's working well.
It was about the owner and permissions on the folder I created.
I tried it under /server/test/ and it's working well for both, filename
and regular expression (*.aspx),
Thanks,
Cezar
On Tue, 2003-09-30 at 22:00, Gonzalo Paniagua Javier wrote:
> El mar, 30-09-2003 a las 21:51, Cezar Nasui escribió:
> > Does the handler works in XSP as is suppose to or am I doing something
> > wrong ?
> >
> > I tried a simple handler example :
> > - create a SimpleHandler which implements IHttpHandler, compile it to
> > dll and place it under /bin
> > - create a web.config file
> > Under xsp/server I created a directory for my application /Test2/ and
> > I installed /bin under it.
>
> I did this:
>
> -Create my IHttpHandler in myhandler.cs. The class is in
> namespace A and its name is B.
> -Compiled it to myhandler.dll
> -Put the dll in xsp/server/test/bin
> -Add a couple of <httpHandler> to web.config:
> <add verb="*" path="*.hola" type="A.B,myhandler" />
> <add verb="*" path="hola.aspx" type="A.B,myhandler" />
>
> And it worked fine for "*.hola" pages, but not for "hola.aspx". I've
> just fixed the case for "hola.aspx" in CVS.
>
> Is SimpleHandler.dll (with that exact typing) the name of your dll?
>
> -Gonzalo
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list