You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Amancio Hasty <ha...@rah.star-gate.com> on 2000/01/17 09:09:42 UTC
Alias?
Does anyone know how to define a url alias for tomcat?
What I am looking for is something similar to apache's
Alias directive:
Alias /manager /document/root/manager
Where /manager is an alias
Tnks
--
Amancio Hasty
hasty@rah.star-gate.com
RE: Alias?
Posted by Klaus Myrseth <kl...@infohwy.no>.
if your document/root/manager is in the directory where server.xml is, then
paste this into your server.xml:
<Context path="/manager" docBase="document/root/manager"
defaultSessionTimeOut="30" isWARExpanded="true"
isWARValidated="false" isInvokerEnabled="true"
isWorkDirPersistent="false"/>
Then play with the options :) and ps....copy a web application and start
from there (ie the example directory or something)
Enjoy.
Klaus Myrseth
> -----Original Message-----
> From: Amancio Hasty [mailto:hasty@rah.star-gate.com]
> Sent: 17. januar 2000 09:10
> To: tomcat-dev@jakarta.apache.org
> Subject: Alias?
>
>
>
> Does anyone know how to define a url alias for tomcat?
> What I am looking for is something similar to apache's
> Alias directive:
>
> Alias /manager /document/root/manager
>
>
> Where /manager is an alias
>
> Tnks
>
>
> --
>
> Amancio Hasty
> hasty@rah.star-gate.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>