At 19:14 24/03/2004, you wrote:
>We are running CFMX on 2003web and if you hit www.domainname.com/servlet
>you get a generic cf error even though this directory is not there.  Is
>there a way to disable this undocumented feature in MX so iis will return
>a 404.

My default-web.xml (in CFusionMX/runtime/servers/default/SERVER-INF/)
contains a servlet mapping for the ServletInvoker servlet with a url
pattern of "/servlet/*". After commenting this out, IIS returns a 404.

AFAIK, most servlet containers contain a servlet mapping like this by
default, so any servlets in the servlets directory can be called directly
without having to set up a specifc mapping.

What I don't understand is how IIS knew not only that a request for
/servlet was destined for a servlet container, but it knew which one. There
is no servlet virtual directory and I don't recognise any ISAPI filter
installed that should do this either.

Mark
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to