Custom extensions

Sep 2, 2008 at 3:36 PM
Hi,

I would like to implement the IIS 6 SQL Injection Sanitation ISAPI Wildcard, but i am having some trouble with pages which use the extension .ocl.

Our CMS has a .NET pagehandler for its own pages. It uses .ocl extension.

It seems like .ocl pages aren't well handled, it gives a 404 page error. Normal aspx files are handled well.

It there a solution for this?






Coordinator
Sep 2, 2008 at 4:18 PM
Hi Spriet,

When you add the wildcard mapping in IIS (see video for details) you have a check box that reads "Check if file exists", if you check it it will probably work with your custom handle.
Sep 3, 2008 at 7:05 AM
Edited Sep 3, 2008 at 7:38 AM
The "Check if file exists" was checked during my first tests.

Actually the ".ocl" files doesnt exist on the filesystem. It uses a generic pagehandler/httpmodule for processing aspx templates.

I unchecked this checkbox and i dont get a 404 error message anymore.

Sounds clear :-) Thanx for your advice.

Greetings