tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Swensson <matman...@yahoo.com>
Subject Re: Help! Symbolic Links and Tomcat 4.1.18
Date Thu, 10 Jul 2003 21:36:56 GMT
What if you just set up a symbolic link inside the
webapp itself going to the actual directory.  

for example you have a directory /media/ - in your
webapps you create a symbolic link to the media
directory but access it as if it is a local dir.
../webapps/myWebApp/media->/media/


> Has anyone gotten symbolic links working with Tomcat
> 4.1.18? I inserted
> into my server.xml:
> 
>  
> 
> <Context path="/MyApp" docBase="webapps/Media"
> debug="0">
>        <Resources
>
className="org.apache.naming.resources.FileDirContext"
> allowLinking="true"  />
> </Context>
>  
>  
> 
> the docBase is set to an images directory that I
> want all my web
> applications to share. Once Tomcat is restarted
> errors get thrown. Am I
> completely off base? Does anyone have a suggestion
> how to share images
> among all of your web applications? Please any and
> all suggestion
> greatly appreciated.
> 
>  
> 
> Pat Pomatto
> 
>  
> 
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message