I will be waiting for your knock ever after from today.


Visards, Inc.

Java Sticky Note

java
  ・JSTL
  ・Commons Net
  ・Apache
  ・Tomcat
  ・James
  ・Jetspeed
  ・POI
  ・Jexl
  ・Jelly
  ・Blojsom
  ・eclipse

link
  ・James

author
  ・profile

tomcat  
tomcat index
tomcatでシンボリックリンクを有効にする方法

mixiチェック

tomcat 3.xでは、unixのシンボリックリンクはそのまま使用出来ましたが、 tomcat 4.xからは、セキュリティの問題のため、デフォルトではシンボリック リンクは、使用できないように設定されています。

$TOMCAT_HOME/conf/server.xmlで、以下のように Context内の Resources に allowLiningを設定することで、シンボリックリンクが使用できるようになります。

    <Context path="/examples" docBase="examples" debug="0"
        reloadable="true" crossContext="true">
    
        <Resources 
            className="org.apache.naming.resources.FileDirContext"
            allowLinking="true"/>
    
    </Context>
    

上記設定は、セキュリティ上の問題が発生しないように注意深く行なって下さい。

2003.03
tomcat index








Copyright (C) 2003-2005 Visards, Inc. All Rights Reserved.