I think thats what I'm asking you how to do.
I can program html/php/mysql/css, c++ (for dos), Some
VB...
I used to do things with batch files that should be inhumanly possible.
I set up imapsync and resolved all the perl dependancies...etc.
But this one is missing me.
I got all the info that made me look into web.xml and server.xml from part of a tutorial I got at
http://scitec.uwichill.edu.bb/cmp/on...SampleApp.html
but I didnt install that servelet because there was no build.bat file... I'm guessing that could have something to do with the fact that that tutorial seems like it is talking about tomcat on windows... and I am using RHEL 4u2.
so you can see exactly what I have... I have standard vanilla zimbra.
logged on as zimbra user, I created a folder "webmail"
at /opt/zimbra/jakarta-tomcat-5.5.7/webapps/zimbra/webmail
in that folder there is a index.html:
<html>
<head>
<title>Mail has moved</title>
<meta http-equiv="refresh" content="0;URL=http://mail.domain.com">
</head>
<body>
This page has moved. If your browser does not automatically redirect you in a few seconds, click <A HREF="http://mail.domain.com">here</A> to go to the new page.
</body>
</html>
in the webmail folder I created a WEB-INF folder with a web.xml file in it:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app>
<display-name>CMail</display-name>
<description>
This is a simple redirector that points to our new mail server
</description>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
here is the line I tryed adding into the server.xml file:
<Host name="localhost" appBase="webapps" autoDeploy="false">
<DefaultContext reloadable="false"/>
<Context path="/" docBase="${catalina.home}/webapps/zimbra" debug="0" crossContext="true"/>
<Context path="/webmail" docBase="${catalina.home}/webapps/zimbra/webmail"/>
</Host>
just an interesting point that I noticed something about in another post here that I cant lay my hands on at the moment, when I stop zimbra and restart it the context path line goes away... something (zimbra?) regenerates the file somehow without that line.
HELP