You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jack Kada <jo...@yahoo.com> on 2004/08/21 10:06:33 UTC

SymLinks Again

I am running Tomcat 5 on a Unix machine.��I have a
file (say abc.xml) which is in fact an alias / symlink
to an actual file system inside the��webapp.

When i try to download view the (abc.xml) the symlink
is not followed and the file is not found.

I found the following on the mailing list which seems
to deal with symlinks of Jar files - but not files:

allowLinking = true.

Could you please give me a pointer on this.

Many Thanks


                


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: SymLinks Again

Posted by QM <qm...@brandxdev.net>.
On Sat, Aug 21, 2004 at 01:06:33AM -0700, Jack Kada wrote:
: I am running Tomcat 5 on a Unix machine.??I have a
: file (say abc.xml) which is in fact an alias / symlink
: to an actual file system inside the??webapp.
: 
: I found the following on the mailing list which seems
: to deal with symlinks of Jar files - but not files:
: allowLinking = true.

Correct.


: Could you please give me a pointer on this.

Yes: create a portable webapp that doesn't rely on OS- and
deployment-specific features such as symlinks.  For example, what if you
were to start deploying as a WAR file?  Symlinks certainly wouldn't work
from inside there.

Put all needed files inside your context.  Webapps are supposed to be
self-contained applications.

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org