I found part of the answer: the admin.xml file present in windows and
unix version. In this file you can change the admin path as you can see
(<Context path="/admin"). On a running tomcat it is working. So I have
found a part of my problem.

The problem I have now is when I use JBuilder6 starting my tomcat
server, it does not works; I cannot have access to the admin using
JBuilder. I think JBuilder is not using the admin.xml file for
redirection (because admin is a new Web Application from Tomcat). So I
am thinking to migrate to the NetBeans IDE instead... maybe it will be
more customisable...?

The goal of this, frankly, is to build a Tomcat Datasource... but if I
don�t have access to the tomcat admin in JBuilder, I don�t see how I can
easily do this job.

The reason why I needed first to change the /admin path is that I add
previously an "admin/" section in my site, and the tomcat "admin/" was
overriding my "admin/" on any tomcat installation. So to make my site
works, I need to change the path of the tomcat admin.

Thanks for any support, idea...

Etienne.

<!--

    Context configuration file for the Tomcat Administration Web App

    $Id: admin.xml,v 1.3 2002/07/23 12:12:15 remm Exp $

-->


<Context path="/admin" docBase="../server/webapps/admin"
        debug="0" privileged="true">

  <!-- Uncomment this Valve to limit access to the Admin app to
localhost
   for obvious security reasons. Allow may be a comma-separated list of
   hosts (or even regular expressions).
  <Valve className="org.apache.catalina.valves.RemoteAddrValve"
    allow="127.0.0.1"/>
  -->

  <Logger className="org.apache.catalina.logger.FileLogger"
             prefix="localhost_admin_log." suffix=".txt"
          timestamp="true"/>

</Context>


Etienne Laverdi�re
[EMAIL PROTECTED]
514-277-7792


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: March 15, 2003 1:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat web admin change

are you using tomcat or apache + tomcat ?????
If you are using apache tomcat use the proxy module / url rewrite module
to
have this done ..
Thanks 
guru


-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 15 March 2003 18:39
To: Tomcat Users List
Subject: Re: Tomcat web admin change


I don't think this can be done yet in any current releases because the 
admin app assumes it is in the path /admin. I think there have been 
patches which fix this and might be part of 4.1.23 which might be coming

very soon.

(Sorry for being so vague)

-Tim

Etienne wrote:
> Where can I change the path of the ADMINISTRATION section? I want to
> change it from mysite.com/admin to mysite/tomcatAdmin
> 
> Thanks
> 
> Etienne
> 
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to