On Wednesday, 16 July 2003 7:25 PM, Gustav wrote:
> Dear Greg,
>
> I just noticed that I never answered your questions, even though
> the new installation instructions in installwin.html may already
> have answered it.
>
> > However, I got the feeling that you were saying you could have
> > the two going simultaneously, in which case server.xml would
> > need to be changed more substantially ... a different server port?
> > or do you only need to copy the `<Context path=...' line and give
> > a different value for path which will appear in the URL?
>
> In fact no change is required at all. Modern Tomcats come with a
> server.xml that needs no modifications.
Thanks Gustav,
What I was confused about was that I could see that the new tree would
need to be served under a different URL, and I was unclear as to how
that happened. When I looked at your installwin.html, I noticed that
the directory name appeared in the URL. So then I had a look at
AutoConf.mpl and when it sets TomcatContext it first checks if the
subdirectory of webapps containing the AiM stuff is ROOT or something
else. If it's not ROOT then the directory name is appended to the URL.
So, now I have my parallel developer's AIM directory at:
http://olld.maths.curtin.edu.au/AIM/
and my original which was in webapps/ROOT under
http://olld.maths.curtin.edu.au/
... and it all works fine, except that you will notice that I didn't
want port 8080 (but instead use port 80) which I have configured in
ManualConfig.mpl. However, everytime the admin.html and index.html
page are regenerated (by adding a subject) the form action is set
to a URL with :8080 inserted. I can edit it correctly by hand, but
where is this coming from? It's apparently generated by aim/Zone.mpl
using Config['ServletURL'], but I've checked this via Console.mpl
... it is the URL given above. So what's going on?
PS I had to make a few adjustments to AutoConf.mpl and Servlet.mpl
to repair things for Linux and fix typos.
BTW It was a nice idea to make AutoConf.mpl proceed on to reading
Servlet.mpl and Make.mpl. That simplifies the install quite a bit
for first time users.
Regards,
Greg
|