.htaccess http://www.javascriptkit.com/howto/htaccess11.shtml
Tak Martin- --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. . ----- Original Message ----- From: "olivier nouguier" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Tuesday, December 12, 2006 5:21 AM Subject: Re: how do I restrict access to folder? hi Just put then in /WEB-INF/templates ... On 12/12/06, Sköldheimer Fredrik <[EMAIL PROTECTED]> wrote: > > Hello > > I'm new to the tomcat servers (have experience from apache webserver). > I have a project coded in Java/JSF/Facelets and I need to restrict access > to the folder that contains the xhtml-template files. The index.xhtmlfiles > should be able to reach the content in the folder that contains the > other xhtml files but you should not be able to reach them directly. > > Ex. > - index.xhtml > -- [templates] > ---- someTemplate.xhtml > > In witch I want to restrict access to all files in the [templates] folder. > > How do I accomplish this? > > /Fredrik > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Souviens-toi qu'au moment de ta naissance tout le monde était dans la joie et toi dans les pleurs. Vis de manière qu'au moment de ta mort, tout le monde soit dans les pleurs et toi dans la joie."