G
Guest
I'm attempting to create my first HttpHandler but there seems to be a problem.
The handler works fine for the root directory and all sub directories.
That is.
http://localhost/handlerexample/
and
http://localhost/handlerexample/testdir
Works fine even if the directory does not exist.
My problem is with:
http://localhost/handlerexample
Note the / at the end is missing.
When I enter this path the application tries to do directory browsing.
and since this is not allocated in IIS for the Virtual a Security Exception
is raised.
How can I fix this problem?
Thanks
Jaco Roux
The handler works fine for the root directory and all sub directories.
That is.
http://localhost/handlerexample/
and
http://localhost/handlerexample/testdir
Works fine even if the directory does not exist.
My problem is with:
http://localhost/handlerexample
Note the / at the end is missing.
When I enter this path the application tries to do directory browsing.
and since this is not allocated in IIS for the Virtual a Security Exception
is raised.
How can I fix this problem?
Thanks
Jaco Roux