This is Good Stuff- http://tomcat.apache.org/tomcat-5.0-doc/config/defaultcontext.html Case sensitive symlinks may not work in case insensitive environments such as Windows
Good Call Phil- Martin-- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Phill O'Flynn" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Tuesday, July 18, 2006 8:43 AM Subject: [Fwd: Re: symbolic links usage] > > > Although this didn't work for me I found an article that said to add the > default > context setting > > allowLinking > to the server.xml which worked.... for [EMAIL PROTECTED] > > So effectively a soulution has been found. but i would appreciate if > anyone knows why this would work and and changes to the webapps local > context.xml. I > must have written it incorrectly. I don't know > Regards > Phill O'Flynn > > > > --------------------------------- Original Message > --------------------------------- > Subject: Re: symbolic links usage > From: > "dirk ooms" <[EMAIL PROTECTED]> > Date: Tue, July 18, 2006 > 7:44 pm > To: "Tomcat Users List" > <users@tomcat.apache.org> > ------------------------------------------------------------------------------------ > > make allowLinking="true" an attribute of Context itself > > On Tuesday 18 July 2006 01:57, Phill O'Flynn wrote: >> I have a web app > that needs to access >> directories outside of the context using symlinks. > However these files are >> not visible to the servlet. I have looked at all > the FAQ's and made the >> recommended changes but it still doen't work. I am > using Tomcat 5.0.XX >> >> i have a >> context.xml file setup in > the webapps META-INF directory as recommended for >> tomcat 5 on the web > site. This is my context.xml >> >> <?xml version="1.0" >> encoding="UTF-8"?> >> <Context > path="/drawings" >> docBase="drawings" > debug="0" /> >> <Resources >> > className="org.apache.naming.resources.FileDirContext" >> > allowLinking="true" /> >> </Context> >> >> > this is the >> error I get >> >> > org.apache.jasper.JasperException: /dwgList.jsp(12,0) File >> > "/downloads/info.jsp" not found >> >> ("downloads" > is a >> symbolic link and is a sub directory of the project directory) >> >> and this >> is the calling code >> >> > <[EMAIL PROTECTED] file='/downloads/info.jsp'%> >> >> >> > Regards >> Phill O'Flynn >> >> >> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To > unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional > commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To > start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >