RE: Renaming /admin and /manager contexts (from user list)

2003-06-17 Thread Shapira, Yoav

Howdy,

Sounds reasonable to me.
Maybe all that's needed is updating the paths in the context
descriptors
for both webapps.

I'll update the docs as needed if we make this change.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Renaming /admin and /manager contexts (from user list)

2003-06-17 Thread Jeff Tulley
Sounds reasonable to me.
Maybe all that's needed is updating the paths in the context
descriptors 
for both webapps.

Cool.  Yeah, it is a very very simple fix.  Diff files attached, if
they are even of any help at all.

I'll let Yoav do the documentation then, since he volunteered.  (Thanks
Yoav!)

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com
Index: manager.xml
===
RCS file: /home/cvspublic/jakarta-tomcat-4.0/webapps/manager/manager.xml,v
retrieving revision 1.2
diff -u -r1.2 manager.xml
--- manager.xml 8 Apr 2002 17:46:08 -   1.2
+++ manager.xml 17 Jun 2003 15:10:09 -
@@ -7,7 +7,7 @@
 --
 
 
-Context path=/manager docBase=../server/webapps/manager
+Context path=/tomcat/manager docBase=../server/webapps/manager
 debug=0 privileged=true
 
   !-- Link to the user database we will get roles from --

Index: admin.xml
===
RCS file: /home/cvspublic/jakarta-tomcat-4.0/webapps/admin/admin.xml,v
retrieving revision 1.3
diff -u -r1.3 admin.xml
--- admin.xml   23 Jul 2002 12:12:15 -  1.3
+++ admin.xml   17 Jun 2003 15:11:32 -
@@ -7,7 +7,7 @@
 --
 
 
-Context path=/admin docBase=../server/webapps/admin
+Context path=/tomcat/admin docBase=../server/webapps/admin
 debug=0 privileged=true
 
   !-- Uncomment this Valve to limit access to the Admin app to localhost


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

Renaming /admin and /manager contexts (from user list)

2003-06-16 Thread Jeff Tulley
This is a conversation we are having on the users list.  I propose that
the contexts, /admin, and /manager be renamed to something else, (I
suggest /tomcat/admin, and /tomcat/manager respectively).  Doing so
avoids Tomcat being yet another app, which wants to own
http://(url)/admin

This is very easily modifiable in Tomcat (one string in admin.xml and
manager.xml), and I think it should be done.

Original posts:
(my email)
Tomcat ought to do the same, IMO.  You never know who else wants to own
http://url/admin;, and you do not always have the luxury of renaming
it.

/tomcat/admin and /tomcat/manager are more specific, and can easily be
changed on Tomcat's side.  

Maybe something to bring up on the developer list.

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

 [EMAIL PROTECTED] 6/16/03 1:29:52 PM 
That's a good point. There I go again. Always thinking of the Quick
fix!

  - Original Message - 
  From: Phillip Qin 
  To: 'Tomcat Users List' 
  Sent: Monday, June 16, 2003 9:26 PM
  Subject: RE: Can't get to /admin dir of our webapp


  I strongly disagree with all of you.

  Suppose you are upgrading from 4.1.18 to 4.1.24. The unpacked tar
will
  override all of the contents re admin and install its admin app.

  Why don't you guys think of renaming your own admin app to something
like
  myappadmin?

  -Original Message-
  From: Jeff Tulley [mailto:[EMAIL PROTECTED] 
  Sent: June 16, 2003 3:20 PM
  To: [EMAIL PROTECTED] 
  Subject: RE: Can't get to /admin dir of our webapp

  I've moved ours to be /tomcat/admin, so the we still have the admin
  functionality, but in a less generic name.  It is just a simple
change
  in webapps/admin.xml

  Jeff Tulley  ([EMAIL PROTECTED])
  (801)861-5322
  Novell, Inc., The Leading Provider of Net Business Solutions
  http://www.novell.com 



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



Re: Renaming /admin and /manager contexts (from user list)

2003-06-16 Thread Remy Maucherat
Jeff Tulley wrote:
This is a conversation we are having on the users list.  I propose that
the contexts, /admin, and /manager be renamed to something else, (I
suggest /tomcat/admin, and /tomcat/manager respectively).  Doing so
avoids Tomcat being yet another app, which wants to own
http://(url)/admin
This is very easily modifiable in Tomcat (one string in admin.xml and
manager.xml), and I think it should be done.
Original posts:
(my email)
Tomcat ought to do the same, IMO.  You never know who else wants to own
http://url/admin;, and you do not always have the luxury of renaming
it.
/tomcat/admin and /tomcat/manager are more specific, and can easily be
changed on Tomcat's side.  

Maybe something to bring up on the developer list.
Sounds reasonable to me.
Maybe all that's needed is updating the paths in the context descriptors 
for both webapps.

Remy

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