> I have a massive static HTML website that I need to add a
> security layer. So including a file won't work.

As many others have probably mentioned by now, you need to edit web.xml to
make this work:

    <servlet-mapping>
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>

However, you might be able to get significantly better performance using a
different approach. You might look at security preprocessors for your
specific web server. For example, for IIS, there are a bunch of ISAPI
security filters:

http://www.iisfaq.com/default.aspx?View=P206&P=134

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to