RES: how to get rid of the path after the URL

2007-12-28 Thread siomara
Let me see if I understood:

'jiveforums' is the name of the folder where ur application is inside
webapps folder, right?

Tomcat is a webapplication designed to run LOTS of applications. Each one
must be inside of a folder inside webapps. So far you did it correct because
you created your application inside of its own folder inside webapps folder.

In order to do what you want you would have to drag and drop all the files
inside 'jiveforums' to the folder on top of it, wich is 'webapps' ( which is
NOT recommended).

However if you are just playing with tomcat, you can put all your files
directly on 'webapps' folder and make your index.jsp the main one by
deleting the index.jsp (or index.whatever) that comes with tomcat.

This is ok for testing but not for deploying real application.

kisses

sio


-Mensagem original-
De: Pavel Pragin [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de dezembro de 2007 16:35
Para: users@tomcat.apache.org
Assunto: how to get rid of the path after the URL


Hello,

 

I am running a Jive application using Tomcat. The application resides in
/tomcat/webapps/jiveforums on the server. When I access the site I
have to use http://www.example.com/jiveforums; .

What changes do I have to make in Tomcat  so I can omit /jiveforums
from the URL and just use http://www.example.com:/jiveforums . Right now
if I go this URL I get the default Tomcat page.

 

Please help

Thank You

 

 

.

PAVEL PRAGIN 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

T   650.328.3900
M  650.521.4377 
F   650.328.3901 

SolutionSet 
The Brand Technology Company 
http://www.SolutionSet.com http://www.solutionset.com/  

PA  131 Lytton Ave., Palo Alto, CA 94301 
SF  85 Second St., San Francisco, CA 94105 

 

 



Re: RES: how to get rid of the path after the URL

2007-12-28 Thread Mark Thomas
[EMAIL PROTECTED] wrote:
 In order to do what you want you would have to drag and drop all the files
 inside 'jiveforums' to the folder on top of it, wich is 'webapps' ( which is
 NOT recommended).

No, no, no. This is completely, totally and utterly wrong. It isn't just
not recommended, it won't work.

The correct way to do what the OP wants to do is:
- if deployed directory, rename the jiveforums directory to ROOT
- if deployed as a WAR file, rename jiveforums.war to ROOT.war

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RES: how to get rid of the path after the URL

2007-12-28 Thread siomara
Pavel,

the default.jsp is either a index.html or index.jsp file.

sio

-Mensagem original-
De: Pavel Pragin [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de dezembro de 2007 17:08
Para: Tomcat Users List
Assunto: RE: how to get rid of the path after the URL


Hello,

I wasn't able to find default.jsp anywhere under /tomcat/webapps do I just
need to create one there with the
redirect?

Thanks

.
PAVEL PRAGIN 
[EMAIL PROTECTED] 

T   650.328.3900
M  650.521.4377 
F   650.328.3901 

SolutionSet 
The Brand Technology Company 
http://www.SolutionSet.com 

PA  131 Lytton Ave., Palo Alto, CA 94301 
SF  85 Second St., San Francisco, CA 94105 



-Original Message-
From: David kerber [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 28, 2007 11:00 AM
To: Tomcat Users List
Subject: Re: how to get rid of the path after the URL

Pavel Pragin wrote:
 Hello,

 Thank you for your response. Can you please give me an example of how I
can do these two:
 1. Make jiveforums the root.  
   
Copy all the stuff from your jiveforums folder to the root folder under 
webapps.

 2. Redirect in the root webapp to point it to jiveforums
   
replace the default.jsp file in root with one that has a redirect 
command in it (do a google search for that).

 Thank You 

 .
 PAVEL PRAGIN 
 [EMAIL PROTECTED] 

 T   650.328.3900
 M  650.521.4377 
 F   650.328.3901 

 SolutionSet 
 The Brand Technology Company 
 http://www.SolutionSet.com 

 PA  131 Lytton Ave., Palo Alto, CA 94301 
 SF  85 Second St., San Francisco, CA 94105 



 -Original Message-
 From: David kerber [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 28, 2007 10:40 AM
 To: Tomcat Users List
 Subject: Re: how to get rid of the path after the URL

 Pavel Pragin wrote:
   
 Hello,

  

 I am running a Jive application using Tomcat. The application resides in
 /tomcat/webapps/jiveforums on the server. When I access the site I
 have to use http://www.example.com/jiveforums; .

 What changes do I have to make in Tomcat  so I can omit /jiveforums
 from the URL and just use http://www.example.com:/jiveforums . Right now
 if I go this URL I get the default Tomcat page.
   
 
 Make jiveforums the root.  Or at least put a redirect in the root webapp 
 to point it to jiveforums.


   
  

 Please help

 Thank You

  

  

 .

 PAVEL PRAGIN 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

 T   650.328.3900
 M  650.521.4377 
 F   650.328.3901 

 SolutionSet 
 The Brand Technology Company 
 http://www.SolutionSet.com http://www.solutionset.com/  

 PA  131 Lytton Ave., Palo Alto, CA 94301 
 SF  85 Second St., San Francisco, CA 94105 

 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: RES: how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello,

Do you meet ROOT literaly?

thanks

-Original Message-
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: 12/28/07 11:09 AM
Subject: Re: RES: how to get rid of the path after the URL

[EMAIL PROTECTED] wrote:
 In order to do what you want you would have to drag and drop all the files
 inside 'jiveforums' to the folder on top of it, wich is 'webapps' ( which is
 NOT recommended).

No, no, no. This is completely, totally and utterly wrong. It isn't just
not recommended, it won't work.

The correct way to do what the OP wants to do is:
- if deployed directory, rename the jiveforums directory to ROOT
- if deployed as a WAR file, rename jiveforums.war to ROOT.war

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RES: how to get rid of the path after the URL

2007-12-28 Thread Rainer Jung
Pavel Pragin schrieb:
 Hello,
 
 Do you meet ROOT literaly?

Yes.

All URLs that do not map to any context deployed by it's name will be
mapped to the special context named ROOT.

 
 thanks
 
 -Original Message-
 From: Mark Thomas [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: 12/28/07 11:09 AM
 Subject: Re: RES: how to get rid of the path after the URL
 
 [EMAIL PROTECTED] wrote:
 In order to do what you want you would have to drag and drop all the files
 inside 'jiveforums' to the folder on top of it, wich is 'webapps' ( which is
 NOT recommended).
 
 No, no, no. This is completely, totally and utterly wrong. It isn't just
 not recommended, it won't work.
 
 The correct way to do what the OP wants to do is:
 - if deployed directory, rename the jiveforums directory to ROOT
 - if deployed as a WAR file, rename jiveforums.war to ROOT.war
 
 Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RES: how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello,

You guys are great I will try this shortly.

thanks

-Original Message-
From: Rainer Jung [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: 12/28/07 11:40 AM
Subject: Re: RES: how to get rid of the path after the URL

Pavel Pragin schrieb:
 Hello,
 
 Do you meet ROOT literaly?

Yes.

All URLs that do not map to any context deployed by it's name will be
mapped to the special context named ROOT.

 
 thanks
 
 -Original Message-
 From: Mark Thomas [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: 12/28/07 11:09 AM
 Subject: Re: RES: how to get rid of the path after the URL
 
 [EMAIL PROTECTED] wrote:
 In order to do what you want you would have to drag and drop all the files
 inside 'jiveforums' to the folder on top of it, wich is 'webapps' ( which is
 NOT recommended).
 
 No, no, no. This is completely, totally and utterly wrong. It isn't just
 not recommended, it won't work.
 
 The correct way to do what the OP wants to do is:
 - if deployed directory, rename the jiveforums directory to ROOT
 - if deployed as a WAR file, rename jiveforums.war to ROOT.war
 
 Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RES: RES: how to get rid of the path after the URL

2007-12-28 Thread siomara
That's right Pavel.

Mark is correct. It's been a while that I am being forced to develop in this
crap php language that I forgot that tomcat main application is not under
webapps. It's under a ROOT folder.

So rename ROOT to ROOTSomething

create a ROOT folder. Place your application on it.

Let me know if it worked.

sio

-Mensagem original-
De: Pavel Pragin [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de dezembro de 2007 17:17
Para: Tomcat Users List
Assunto: RE: RES: how to get rid of the path after the URL


Hello,

Do you meet ROOT literaly?

thanks

-Original Message-
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: 12/28/07 11:09 AM
Subject: Re: RES: how to get rid of the path after the URL

[EMAIL PROTECTED] wrote:
 In order to do what you want you would have to drag and drop all the files
 inside 'jiveforums' to the folder on top of it, wich is 'webapps' ( which
is
 NOT recommended).

No, no, no. This is completely, totally and utterly wrong. It isn't just
not recommended, it won't work.

The correct way to do what the OP wants to do is:
- if deployed directory, rename the jiveforums directory to ROOT
- if deployed as a WAR file, rename jiveforums.war to ROOT.war

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]