httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Paries" <rtpar...@gmail.com>
Subject Re: [users@httpd] Looking for some ideas on how to stop someone view an html page directly using Server Side Includes
Date Fri, 06 Oct 2006 12:48:58 GMT
On 10/5/06, Chris Cheshire <cheshirator@gmail.com> wrote:
>
> What about putting main.html inside the WEB-INF folder hierarchy and
> having your index page do the SSI include of the main page. The web
> server should be set up to automatically deny all access to everything
> under WEB-INF but as an SSI type request this will not come into
> effect.
>
> I have done this in JSP successfully, I am assuming that the shtml SSI
> directives will work in a similar way.
>
> HTH
>
> Chris
>


Chris
Thanks for the suggestion.
the problem is that i have a directory structure of over 6000 main.htmls and
i would have to reproduce that structure under WEB-INF.
But that is an interesting idea.

Mime
View raw message