tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul miller <paul_n_mil...@yahoo.com>
Subject allowLinking option under ROOT
Date Wed, 09 Oct 2002 21:20:12 GMT
I can not get the allowLinking option to work under
the
ROOT docBase.  
That is it works for a url like
"www.bla.com/foo/servlet" 
but not "www.bla.com/servlet"

Here is a section of my server.xml
  <!--  WORKS! -->
  <Context path="/foo" docBase="foo" debug="0"
                  reloadable="false"
crossContext="false">
    <Resources 
       
className="org.apache.naming.resources.FileDirContext"
        allowLinking="true" caseSensitive="false"
docBase="" />
  </Context>

  <!-- DOES NOT WORK! -->
  <Context path="/" docBase="ROOT" debug="0"
                  reloadable="false"
crossContext="false">
     <Resources 
        
className="org.apache.naming.resources.FileDirContext"
         allowLinking="true" caseSensitive="false"
docBase="" />
  </Context>


And then in my httpd.conf I have

<IfModule mod_webapp.c>
    WebAppConnection warpConnection warp
localhost:8008
    WebAppDeploy ROOT warpConnection   /
    WebAppDeploy foo warpConnection   /foo/
</IfModule>

thanks
paul


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

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


Mime
View raw message