Re: [users@httpd] Looking for some ideas on how to stop someone view an html page directly using Server Side Includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 10/5/06, Chris Cheshire <cheshirator@xxxxxxxxx> 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.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux