Is this a dev machine or a public box?

Setting the ability to follow symbolic links is fine on a Linux (case-sensitive) machine, but on Windows (not case-sensitive) it opens up the possibility for someone to view your source code. If you really need this kind of directory structure, I'd recommend a Linux (or other case-sensitive OS, such as Unix, BSD, OSX, Solaris, etc) server instead.

Anything other then Windows should be fine, but don't do it on a Windows box.

In case you don't want to take my word for it:
https://cwiki.apache.org/GMOxDEV/configure-allowlinking-for-tomcat-contexts.html

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Railo Community Distributions

On 10/11/2010 01:54 PM, Matthew Woodward wrote:
On Mon, Oct 11, 2010 at 1:43 PM, timerlan <[email protected]
<mailto:[email protected]>> wrote:

    I did not really get the point which context.xml to extend with
    allowLinking="true" to make tomcat follow symbolic links.
    Can you give me a hint here?


All you do is add allowLinking="true" to your Context tag and that
should take care of it.
<Context path="" docBase="C:\path\to\docbase" allowLinking="true" />

--
Matthew Woodward
[email protected] <mailto:[email protected]>
http://blog.mattwoodward.com
identi.ca <http://identi.ca> / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/

mailing list - http://groups.google.com/group/openbd?hl=en

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/

mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to