You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by jo...@cexp.com on 2003/04/23 17:12:53 UTC

Virtual Directories with Side Servlet

I am trying to set up the webDav servlet that comes with Tomcat.  If this
isn't the right place for this question, please let me know.

I would like to set up my webDav URLs so that http://host/webdav/app1 points
to c:\app1 and http://host/webdav/app2 points to c:\app2.  I know I can set
up symbolic links on Unix, but I'm stumped as to how to do it on NT.

I tried to set up specific contexts in the server.xml.  I can see the proper
directories in a browser, but I can't connect through webDav.

Is there anything in the WEB-INF/web.xml that would allow me to set up
virtual subdirectories?  Is there another config file I should look at?

Thanks,
Joe

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


RE: Virtual Directories with Side Servlet

Posted by Willie Vu <ct...@ust.hk>.
You can setup 2 stores in Domain.xml.  Then, map

/files/app1 to a store that points to c:\app1, and
/files/app2 to the other store that points to c:\app2.

--
Willie

> -----Original Message-----
> From: joe.fair@cexp.com [mailto:joe.fair@cexp.com]
> Sent: Wednesday, April 23, 2003 11:13 PM
> To: slide-user@jakarta.apache.org
> Subject: Virtual Directories with Side Servlet
> 
> 
> I am trying to set up the webDav servlet that comes with Tomcat.  If this
> isn't the right place for this question, please let me know.
> 
> I would like to set up my webDav URLs so that 
> http://host/webdav/app1 points
> to c:\app1 and http://host/webdav/app2 points to c:\app2.  I know 
> I can set
> up symbolic links on Unix, but I'm stumped as to how to do it on NT.
> 
> I tried to set up specific contexts in the server.xml.  I can see 
> the proper
> directories in a browser, but I can't connect through webDav.
> 
> Is there anything in the WEB-INF/web.xml that would allow me to set up
> virtual subdirectories?  Is there another config file I should look at?
> 
> Thanks,
> Joe
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
> 

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