Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 54154 invoked from network); 17 Jan 2003 15:16:16 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 Jan 2003 15:16:16 -0000 Received: (qmail 16297 invoked by uid 97); 17 Jan 2003 14:30:00 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 16190 invoked by uid 97); 17 Jan 2003 14:29:59 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 16076 invoked by uid 98); 17 Jan 2003 14:29:58 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <83F0258A9996D311B14200A0C98F173602F22C51@aas-internet.aas.com> From: "Turner, John" To: 'Tomcat Users List' Subject: RE: Tomcat 4.1.18 and symbolic links Date: Fri, 17 Jan 2003 09:28:16 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Check the release notes. Symlinks are disabled by default in 4.1.12 and up for security reasons. You will need to specify a Resource in server.xml that calls FileDirContext with "allowLinking" set to true: Search the archives for more info, this comes up frequently. John > -----Original Message----- > From: guykaisin [mailto:guy.kaisin@lucpire.be] > Sent: Friday, January 17, 2003 7:00 AM > To: tomcat-user@jakarta.apache.org > Subject: Tomcat 4.1.18 and symbolic links > > > Hi, > > I am currently using TC 4.1.18. > But I'd like to use symlink inside my webapp. I works with TC > 4.0.3, but no more with the last version 4.1.18. Why? > For exemple, I have the webapp 'test', which contains a > subdirectory "docs". This "docs" directory contains a symlink > to /usr/webapps/pdf. > So my webapp structure is: > > webapp/test > |_docs/pdf -> /usr/webapps/pdf > > If I try to access any pdf document in the directory > /webapp/test/docs/pdf with an url like > http://myhost/test/docs/pdf/test.pdf, > it doesn't work. I get the error message: > > HTTP Status 404 > The requested resource is not available > > > the symlink has been created with the following command: > ln -s /usr/webapps/pdf > > > Can someone help me? > > > Thanks > -- To unsubscribe, e-mail: For additional commands, e-mail: