Dear sir, I am using tomcat 4.1.3-LE-jdk14 with JSDK 1.4.0 on my Linux(Mandrake 8.1). I cannot access my homepage with has a symlink. I post this problem to tomcat-dev and got the answer below that it is a side-effect of security problem. However, may be someone has any trick to solve this problem. Please let me know.
Thank you, Somchai ================================= > Somchai, > > This would probably be better off asked to the tomcat-user mailing list. > Also, version numbers and specific information on Tomcat, your JVM, OS would > be useful in answering your question. > > This is from http://jakarta.apache.org/tomcat/tomcat-3.3-doc/faq > > * Five, on a Unix platform, you are attempting to access a file > that is a symbolic link. > > The last three cases are caused by a test in > org.apache.tomcat.core.DefaultServlet to see whether the absolute > name of a file equals the canonical name. This test is intended > to solve a serious security problem, where mixed case or additional > characters in a file name can get Tomcat to serve the source > file instead of the processed file for JSP files on a Windows > platform. This test should be replaced with a solution that doesn't > have the above side effects. > > Hope that helps you out. > > Regards, > Michael Locasto > > > ----- Original Message ----- > From: "SomchaiDion" <[EMAIL PROTECTED]> > To: "Tomcat Developers List" <[EMAIL PROTECTED]> > Sent: Sunday, July 28, 2002 5:37 AM > Subject: Re: Symlink problem > > > > > Does anyone know who to solve this problem. > > > > Sorry, it is "Does anyone know how to soleve this problem? > > > > Somchai > > ----- Original Message ----- > > From: "SomchaiDion" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, July 28, 2002 6:34 PM > > Subject: Symlink problem > > > > > > > Dear sir, > > > I have some information on CD-ROM and want to add it into my > homepage. > > > So, I setup tomcat to serve user webdirectory by using Listener. Then, I > > > create symlink in my homepage to the CD-ROM mounting directory. But, I > > > cannot access it. Does anyone know who to solve this problem. Please > help > > > me. > > > > > > Thanks, > > > Somchai -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>