You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick Yoesting <ry...@mac.com> on 2002/06/27 16:28:04 UTC
Re: I don't understand
Assuming I understand your question, you should be able to use
an absolute path to anywhere in your file system.
For example, to make the directory for your virtual host be
/var/www/mywebapp you do something like this in the <Host> element
in server.xml:
<Host name="www.myhost.com" debug="0" appBase="/var/www"
unpackWARs="true">
<Context path="/mywebapp"
docBase="/var/www/mywebapp"
crossContext="false"
debug="0"
reloadable="false" >
</Context>
</Host>
See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html for
more details.
Rick
On Thursday, June 27, 2002, at 12:03 PM, Bui Huu Phuc wrote:
> I want to know about way which set configure of virtual directory to
> directories outside webapps
> Thanks
>
>
> To unsubscribe, e-mail: <mailto:tomcat-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-
> help@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>