Re: Regarding Tomcat url redirection

2024-05-22 Thread lavanya tech
t; > > <https://server.lbg.com/towl-app> > > > > kindly suggest us a fix. > > The best fix is to deploy the two applications normally without any > funny business. Put both applications into webapps/ with no > elements in server.xml and let them deploy. Use t

Re: Regarding Tomcat url redirection

2024-05-16 Thread Christopher Schultz
given arbitrary and weird requirements almost as a game. I'm not sure I can help you any further at this point. -chris On Wed, May 15, 2024 at 2:16 PM Christopher Schultz < ch...@christopherschultz.net> wrote: Lavanya, On 5/15/24 04:43, lavanya tech wrote: Though to write you priv

Re: Regarding Tomcat url redirection

2024-05-16 Thread Christopher Schultz
given arbitrary and weird requirements almost as a game. I'm not sure I can help you any further at this point. -chris On Wed, May 15, 2024 at 2:16 PM Christopher Schultz < ch...@christopherschultz.net> wrote: Lavanya, On 5/15/24 04:43, lavanya tech wrote: Though to write you priv

Re: Regarding Tomcat url redirection

2024-05-15 Thread lavanya tech
t 2:16 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Lavanya, > > On 5/15/24 04:43, lavanya tech wrote: > > Though to write you privately, regaridng the tomcat url redirection as > > the mail chain is getting more big big > > It's better to pos

Re: Regarding Tomcat url redirection

2024-05-15 Thread Christopher Schultz
Lavanya, On 5/15/24 04:43, lavanya tech wrote: Though to write you privately, regaridng the tomcat url redirection as the mail chain is getting more big big It's better to post to the list, so anyone in your situation can learn from it. Let me know if its fine for you and here is w

Re: Regarding Tomcat url redirection

2024-05-14 Thread Christopher Schultz
Lavanya, On 5/14/24 15:11, lavanya tech wrote: You are right. We need aliasing here which means the URL in the browser does not change. May I know where should I put the below rewrite files ? # Redirect everything that is not server.lbg.com to # server.lbg.com. Don't worry about /towl yet. Rewr

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
Hi Chris, You are right. We need aliasing here which means the URL in the browser does not change. May I know where should I put the below rewrite files ? # Redirect everything that is not server.lbg.com to # server.lbg.com. Don't worry about /towl yet. RewriteCond %{HTTP_HOST} !^server\.lbg\.com

Re: Regarding Tomcat url redirection

2024-05-14 Thread Christopher Schultz
Lavanya, On 5/14/24 09:12, lavanya tech wrote: IMHO removing the port number is always the preferred solution — I never did it can we achieve this with tomcat or we need to setup an reverse proxy here. Your application uses whatever internal URLs it wants. Are you building those yourself,

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
Hi Chris, > > IMHO removing the port number is always the preferred solution — I never > did it > >> >> can we achieve this with tomcat or we need to setup an reverse proxy here. >> > > Your application uses whatever internal URLs it wants. Are you building > those yourself, or are you asking Tomc

Re: Regarding Tomcat url redirection

2024-05-14 Thread Christopher Schultz
Lavanya, On 5/14/24 03:47, lavanya tech wrote: Hi Chris, Tried the below steps. I have the redirection working. But the URL is not in the browser anymore. 1) 2) /conf/Catalina/localhost --> I added the below in rewrite.config RewriteCond %{HTTP_HOST} ^example\.lbg\.com$ Re

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
Hi Chris, Tried the below steps. I have the redirection working. But the URL is not in the browser anymore. 1) 2) /conf/Catalina/localhost --> I added the below in rewrite.config RewriteCond %{HTTP_HOST} ^example\.lbg\.com$ RewriteCond %{REQUEST_URI} !^/towl$ RewriteRule ^/(.*

Re: Regarding Tomcat url redirection

2024-05-13 Thread lavanya tech
Hi Chris, Sorry, If I did confuse. It’s important that https://server.lbg.com:8443/towl is always working. Goal is not to disable /towl, but just redirect or aliasing https//example.lbg.com/ to https://server.lbg.com:8443/towl Thanks, Lavanya On Monday, May 13, 2024, Christopher Schultz wro

Re: Regarding Tomcat url redirection

2024-05-13 Thread Christopher Schultz
Lavanya, On 5/13/24 05:57, lavanya tech wrote: Somehow made it work now i can only access urls as you mentioned before https://example.lbg.com and https://server.lbg.com with port 8443 and with out https://example.lbg.com/towl and https://server.lbg.com/towl --> I have an error now File not f

Re: Regarding Tomcat url redirection

2024-05-13 Thread lavanya tech
Hi Chris, Somehow made it work now i can only access urls as you mentioned before https://example.lbg.com and https://server.lbg.com with port 8443 and with out https://example.lbg.com/towl and https://server.lbg.com/towl --> I have an error now File not found. So i think we need to make work h

Re: Regarding Tomcat url redirection

2024-05-13 Thread lavanya tech
Hi Chris, Where are you defining the RewriteValve itself? Defined rewritevalve here resource="conf/rewrite.config" /> 2) reated rewrite.config and added as below under conf/ RewriteCond %{REQUEST_URI} ^/towl/(.*) RewriteRule ^/towl/(.*) https://example.lbg.

Re: Regarding Tomcat url redirection

2024-05-10 Thread Christopher Schultz
Lavanya, On 5/10/24 06:03, lavanya tech wrote: If we create new java.filter as below then we can redirect the urls ? import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IO

Re: Regarding Tomcat url redirection

2024-05-10 Thread Christopher Schultz
Lavanya, On 5/10/24 04:37, lavanya tech wrote: I tried the below and have the issues. 1)proxyPort="443" and proxyName="example.lbg.com" to the connector 2) remanmed towl.war to ROOT.war 3) created rewrite.config and added as below under conf/ Where are you defining the RewriteValve itself?

Re: Regarding Tomcat url redirection

2024-05-10 Thread lavanya tech
Hi Chris, If we create new java.filter as below then we can redirect the urls ? import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; @WebFilter("/*") public clas

Re: Regarding Tomcat url redirection

2024-05-10 Thread lavanya tech
Hi Chris, I tried the below and have the issues. 1)proxyPort="443" and proxyName="example.lbg.com" to the connector 2) remanmed towl.war to ROOT.war 3) created rewrite.config and added as below under conf/ RewriteCond %{REQUEST_URI} ^/towl/(.*) RewriteRule ^/towl/(.*) https://example.lbg.com/%1

Re: Regarding Tomcat url redirection

2024-05-09 Thread Christopher Schultz
Lavanya, On 5/9/24 13:48, lavanya tech wrote: Thank you so much for your explanation. I will try these options. Do server and example both resolve to the same IP? -yes Good, that significantly reduces the complexity required, since you can do it will a single process (Tomcat) in a s

Re: Regarding Tomcat url redirection

2024-05-09 Thread lavanya tech
Hi Chris, Thank you so much for your explanation. I will try these options. Do server and example both resolve to the same IP? -yes So I need follow both 4a/b and 5a/b steps here or any of them ? If I setup exactly by using below steps , then I should access both the urls right ? https:

Re: Regarding Tomcat url redirection

2024-05-09 Thread Christopher Schultz
Lavanya, On 5/9/24 02:58, lavanya tech wrote: Just giving background again of this topic again. 1) The application team who is working they wanted to access the url https://server.lbg.com:8443/towl —> which should redirect or point to https://example.lbg.com Is that a typo? You want specifical

Re: Regarding Tomcat url redirection

2024-05-08 Thread lavanya tech
Hi Chris, Thanks. Just giving background again of this topic again. 1) The application team who is working they wanted to access the url https://server.lbg.com:8443/towl —> which should redirect or point to https://example.lbg.com Is that a typo? You want specifically https://server.lbg.com/tow

Re: Regarding Tomcat url redirection

2024-05-08 Thread Christopher Schultz
Lavanya, On 5/8/24 06:48, lavanya tech wrote: I figured out how I can it make it work with 443. Now the URls are working. I added iptables route 443 to 8443 and it started working. nslookup example.lbg.com Non-authoritative answer: Name:server.lbg.com Address: 192.168.200.105 Aliases: ex

Re: Regarding Tomcat url redirection

2024-05-08 Thread lavanya tech
Hello Chris, I figured out how I can it make it work with 443. Now the URls are working. I added iptables route 443 to 8443 and it started working. nslookup example.lbg.com Non-authoritative answer: Name:server.lbg.com Address: 192.168.200.105 Aliases: example.lbg.com I have some applica

Re: Regarding Tomcat url redirection

2024-04-30 Thread Christopher Schultz
Lavanya, On 4/30/24 07:10, lavanya tech wrote: Can you tell me how to do the below ? How should I setup Tomcat in server.xml ? If you want to use port 443 (the default port for HTTPS) then you will need to change Tomcat to bind to port 443 (if that's allowed on your OS) or arrange to have port

Re: Regarding Tomcat url redirection

2024-04-30 Thread lavanya tech
Hi Chris, Can you tell me how to do the below ? How should I setup Tomcat in server.xml ? If you want to use port 443 (the default port for HTTPS) then you will need to change Tomcat to bind to port 443 (if that's allowed on your OS) or arrange to have port 443 routed to port 8443. You may need

Re: Regarding Tomcat url redirection

2024-04-29 Thread lavanya tech
Hi Chris, There is no issues with browser, because I tested with different browsers and it all works fine. I am sure that there is no issue with the certificate. Because I was able to establish successful connections with port 8443, it just doesnot work with out port curl https://example.lbg.c

Re: Regarding Tomcat url redirection

2024-04-26 Thread Christopher Schultz
Lavanya, On 4/25/24 09:36, lavanya tech wrote: I have updated the certificate now, but still I cannot access url https://example.lbg.com/towl either https://server.lbg.com/towl ? I wonder why its working with port 8443 and not with out port If Tomcat is listening to port 8443, then you need

Re: Regarding Tomcat url redirection

2024-04-26 Thread Christopher Schultz
Lavanya, On 4/25/24 07:24, lavanya tech wrote: Hi Chris, One question / doubt: As I mentioned earlier, the below URLS already working in the browser https://server.lbg.com:8443/towl https://example.lbg.com:8443/towl -> redirect ( which means when I hit in browser) it points to https://server

Re: Regarding Tomcat url redirection

2024-04-25 Thread lavanya tech
Hi I have updated the certificate now, but still I cannot access url https://example.lbg.com/towl either https://server.lbg.com/towl ? I wonder why its working with port 8443 and not with out port On Thu, Apr 25, 2024 at 1:24 PM lavanya tech wrote: > Hi Chris, > > One question / doubt: > >

Re: Regarding Tomcat url redirection

2024-04-25 Thread lavanya tech
Hi Chris, One question / doubt: As I mentioned earlier, the below URLS already working in the browser > https://server.lbg.com:8443/towl > https://example.lbg.com:8443/towl -> redirect ( which means when I hit in browser) it points to https://server.lbg.com:8443/towl ---> To be frank, even I dono

Re: Regarding Tomcat url redirection

2024-04-25 Thread lavanya tech
Hi Chris, Thanks I will request new certificate with SANs and I will try to fix the things from our end. Best Regards, Lavanya On Wed, Apr 24, 2024 at 11:12 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Lavanya, > > On 4/24/24 15:39, lavanya tech wrote: > > Local host means t

Re: Regarding Tomcat url redirection

2024-04-24 Thread Christopher Schultz
Lavanya, On 4/24/24 15:39, lavanya tech wrote: Local host means the machine i am logged in to server.lbg.com You are right, example.lbg.com is CNAME record. Okay, thanks for clearing that up. I dont have any SAN configured for the certificate. The certificate is requested for only server.lb

Re: Regarding Tomcat url redirection

2024-04-24 Thread lavanya tech
Hi Chris, Thanks for the reply. Local host means the machine i am logged in to server.lbg.com You are right, example.lbg.com is CNAME record. I dont have any SAN configured for the certificate. The certificate is requested for only server.lbg.com So if i just request new certificate with SAN i

Re: Regarding Tomcat url redirection

2024-04-24 Thread Christopher Schultz
Lavanya, On 4/24/24 07:37, lavanya tech wrote: Sorry I understood wrongly here with regards to my environment, Let me start from the beginning. I donot want to use redirect at all. I simply wanted to force apache tomcat to use both localhost and dns name of the localhost via url. When you say

Re: Regarding Tomcat url redirection

2024-04-24 Thread lavanya tech
Hi Chris, Sorry I understood wrongly here with regards to my environment, Let me start from the beginning. I donot want to use redirect at all. I simply wanted to force apache tomcat to use both localhost and dns name of the localhost via url. I have DNS resollution as below. server.lbg.com -->

Re: Regarding Tomcat url redirection

2024-04-23 Thread Christopher Schultz
Lavanya, On 4/22/24 05:21, lavanya tech wrote: Could you please explain, what you exactly mean ? So here redirect is not a solution right ? Redirecting is fine. Perhaps you should take a step back and decide: what do you actually want, here? You might be trying to solve problem X by applying

Re: Regarding Tomcat url redirection

2024-04-22 Thread lavanya tech
Hi Chris, I have already a Root folder /git/app/apache-tomcat-10.1.11/webapps, I see the files index.jsp and index.jsp has below configuration. So should I add server.xml under ROOT folder aswell with localhost and example.com such that both the urls are accessible. ? Please suggest <% response.s

Re: Regarding Tomcat url redirection

2024-04-22 Thread lavanya tech
Hi Chris, Could you please explain, what you exactly mean ? So here redirect is not a solution right ? "You'd have to use a glob/regex if you wanted to check for [anything and maybe nothing.]example.com." Thanks, ammu On Fri, Apr 19, 2024 at 3:03 PM Christopher Schultz < ch...@christophersch

Re: Regarding Tomcat url redirection

2024-04-19 Thread Christopher Schultz
Ammu, On 4/19/24 08:32, lavanya tech wrote: Thank you very much. I removed for example.com as well as adding an in server.xml I copied context.xml file /git/app/apache-tomcat-10.1.11/webapps/towl/META-INF/context.xml Removed < in rewrite.config files. But still I dont redirect the URL. If y

Re: Regarding Tomcat url redirection

2024-04-19 Thread lavanya tech
Hi Chris, Thank you very much. I removed for example.com as well as adding an in server.xml I copied context.xml file /git/app/apache-tomcat-10.1.11/webapps/towl/META-INF/context.xml Removed < in rewrite.config files. But still I dont redirect the URL. For your information *nslookup alia

Re: Regarding Tomcat url redirection

2024-04-19 Thread Christopher Schultz
Ammu, On 4/18/24 09:34, lavanya tech wrote: I am attaching server.xml and context.xml and rewrite.config files. The paths are /git/app/apache-tomcat-10.1.11/webapps/towl/context.xml This file ^^^ is in the wrong place. It should be in /git/app/apache-tomcat-10.1.11/webapps/towl

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
Hi Chris, Thanks for message, I am attaching server.xml and context.xml and rewrite.config files. The paths are /git/app/apache-tomcat-10.1.11/webapps/towl/context.xml /git/app/apache-tomcat-10.1.11/webapps/towl/WEB-INF/rewrite.config https://www.example.com:/example [R=301,L]

Re: Regarding Tomcat url redirection

2024-04-18 Thread Christopher Schultz
Ammu, On 4/18/24 07:45, lavanya tech wrote: I added classname rewrite valeus in contex.xml file . created rewrite.config so both of them is located under conf under apache-tomcat. https://www.example.com:/example [R=301,L] So according to the docu

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
Hi Thomas, Thanks for the fast response. I added classname rewrite valeus in contex.xml file . created rewrite.config so both of them is located under conf under apache-tomcat. https://www.example.com:/example [R=301,L] So according to the documentaion

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
Hi Thomas, Thanks for the fast response. I added classname rewrite valeus in contex.xml file . created rewrite.config so both of them is located under conf under apache-tomcat. So according to the documentaion they say context.xml should be placed under webapps and rewrite.conf

Re: Regarding Tomcat url redirection

2024-04-18 Thread Mark Thomas
On 18/04/2024 12:05, lavanya tech wrote: Hi Team, I am using "Tomcat 10.1" in our environment and I wanted to redirect url from https://example.com to https://www.servercom: and for this i modified the server.xml as below in tomcat config, and the below configuration doesnot seems to work. D

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
Hi Team, I am using "Tomcat 10.1" in our environment and I wanted to redirect url from https://example.com to https://www.servercom: and for this i modified the server.xml as below in tomcat config, and the below configuration doesnot seems to work. Does anyone has ideas. Please suggest. The u

RE: Tomcat url redirection

2010-09-21 Thread Caldarale, Charles R
> From: rujin raj [mailto:rujin...@gmail.com] > Subject: Tomcat url redirection > I want http://events.mydomain.xxx/ to > go to http://events.mydomain.xxx/myapp. Then name your webapp ROOT (case sensitive, even on Windows), not myapp, just as the Tomcat doc says to do. > More

Re: Tomcat url redirection

2010-09-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rujin, On 9/21/2010 2:22 PM, rujin raj wrote: > Moreover whenever i type the Public > IP address (http://xxx.yyy.zzz.aaa) instead of > events.mydomain.xxx should also redirect to > http://events.mydomain.xxx/myapp. See Michel's response for redirec

Re: Tomcat url redirection

2010-09-21 Thread michel
http://tuckey.org - Original Message - From: "rujin raj" To: Sent: Tuesday, September 21, 2010 2:22 PM Subject: Tomcat url redirection *Support team, * * * * I'm working with an application that uses apache tomcat 6 to serve the website. I've installed the ap

Tomcat url redirection

2010-09-21 Thread rujin raj
*Support team, * * * * I'm working with an application that uses apache tomcat 6 to serve the website. I've installed the application and tomcat on a Windows 2003 server and everything is working fine.For instance I want http://events.mydomain.xxx/ to go to http://events.mydomain.xxx/myapp.Moreover

Re: HTTPConnector url redirection

2008-08-22 Thread David Smith
Just as a thought, but I've seen on occasion where Firefox in particular will offer up cached content when something goes haywire with the request. As a test, when you drop the s from https (leaving the port number on the end), try to reload w/ the shift key down to force your browser to drop

Re: HTTPConnector url redirection

2008-08-21 Thread raveendra
Yes i am sure, initially when i type my default url http://localhost:8080/myapp/start.action it is getting redirected to https://localhost:8443/myapp/start.action. But after accepting certificate and page is loaded if i remove "s" from redirected url it is still loading the page.It shouldn't even

Re: HTTPConnector url redirection

2008-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raveendra, raveendra wrote: > But after accepting the certificate and loading the page.If i change my url > to http://localhost:8443/myapp/start.action just by removing 's' it is > loading the pages > with some GUI errors and after traversing couple o

HTTPConnector url redirection

2008-08-21 Thread raveendra
Hi all, I am want to run my entire application on https which is developed using struts2.So i configured my server.xml and web.xml as shown below. server.xml web.xml-- ama /* CONFIDENTIAL

Re: RES: url redirection

2008-03-27 Thread ChrisS
, March 27, 2008 7:15 PM Subject: Re: RES: url redirection all I want is to redirect from apache to tomcat. That I was able to do using rewrite rule however, I want the redirection to be transparent (no changes in url) so i thought of using P flag. if ur method can do this please share how

Re: RES: url redirection

2008-03-27 Thread Rainer Jung
sers List" Sent: Thursday, March 27, 2008 4:23 PM Subject: Re: RES: url redirection Hello Actually I was able to define a rewrite rule in apache: RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 [R=301,L] now http://zeus/web:jar:001 redirects to http://zeus:8086/src/web:jar:00

Re: RES: url redirection

2008-03-27 Thread Melanie Pfefer
e section and I was > accessing Tomcat through two > worker ports set up in apache. Is this what you are > trying to do? > Chris S > > - Original Message - > From: "Melanie Pfefer" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: T

Re: RES: url redirection

2008-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Melanie, Melanie Pfefer wrote: | Hello | Actually I was able to define a rewrite rule in | apache: | | RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 | [R=301,L] Aah, mod_rewrite: the chainsaw of httpd configuration. I personally think Redirect

Re: RES: url redirection

2008-03-27 Thread ChrisS
p in apache. Is this what you are trying to do? Chris S - Original Message - From: "Melanie Pfefer" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 27, 2008 4:23 PM Subject: Re: RES: url redirection Hello Actually I was able to defi

Re: RES: url redirection

2008-03-27 Thread Melanie Pfefer
rs > whilst trying to build > 1.3.39, 1.3.4, 2.0.x 2.2.x this way. > > - Original Message - > From: "Melanie Pfefer" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Thursday, March 27, 2008 12:31 PM > Subject: Re: RES: url redirection >

Re: RES: url redirection

2008-03-27 Thread ChrisS
--- Original Message - From: "Melanie Pfefer" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 27, 2008 12:31 PM Subject: Re: RES: url redirection Hi, thanks for your reply. what I want is to redirect http://zeus:8085/web/sec:jar:001 to http://ze

Re: RES: url redirection

2008-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Melanie, Melanie Pfefer wrote: | thanks for your reply. what I want is to redirect | | http://zeus:8085/web/sec:jar:001 | | to | | | http://zeus:8086/src/web:sec:jar:001 | | The first one is on apache | the 2nd one is on tomcat If you are us

Re: RES: url redirection

2008-03-27 Thread Melanie Pfefer
Marcus > > -Mensagem original- > De: Melanie Pfefer > [mailto:[EMAIL PROTECTED] > Enviada em: quinta-feira, 27 de março de 2008 07:32 > Para: users@tomcat.apache.org > Assunto: url redirection > > Hi, > > I have 2 web apps deployed on 2 tomcat servers.

RES: url redirection

2008-03-27 Thread Milanez, Marcus
ginal- De: Melanie Pfefer [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 27 de março de 2008 07:32 Para: users@tomcat.apache.org Assunto: url redirection Hi, I have 2 web apps deployed on 2 tomcat servers. How to redirect urls that contains 'jar' string from one app to another? h

url redirection

2008-03-27 Thread Melanie Pfefer
Hi, I have 2 web apps deployed on 2 tomcat servers. How to redirect urls that contains ‘jar’ string from one app to another? http://zeus:8085/web/sec:jar:001 to http://zeus:8086/src/web:sec:jar:001 thanks __ Sent from Yahoo!

Re: URL Redirection

2006-09-22 Thread Ashirvad Uniyal
they just vanish if the application is renamed as ROOT. Regards, Ash Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: Re: URL Redirection I renamed the application to ROOT and everything works fine except that all the images (gif) have all together vanished

Re: URL Redirection

2006-09-21 Thread Gregor Schneider
hi david, On 9/21/06, David Smith <[EMAIL PROTECTED]> wrote: At most, some links between webapps will have to be updated to reflect the adjustments in path. exactly, and you can save the time updating them I also can't recommend Apache httpd in front unless the site is a mixed bag of techn

Re: URL Redirection

2006-09-21 Thread David Smith
Renaming "everything" is a very simple operation. If the webapp is constructed correctly it should operate regardless of context path and make adjustments as necessary. At most, some links between webapps will have to be updated to reflect the adjustments in path. I also can't recommend Apac

Re: URL Redirection

2006-09-21 Thread Gregor Schneider
Hi David, assuming the client gets his software delivered from different vendors, one day changes his mind to make another app his default application, then what? rename everything over again? The best solution is, leave the web-app it's name and forward with a index.jsp inside the ROOT-context

Re: URL Redirection

2006-09-21 Thread David Smith
anything, everything works fine and the gif appear but they just vanish if the application is renamed as ROOT. Regards, Ash Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: Re: URL Redirection I renamed the application to ROOT and everything works fine ex

Re: URL Redirection

2006-09-21 Thread David Smith
Why is renaming a webapp to ROOT the worst solution? It's a perfectly acceptable solution when you want to access your webapp from the top level and the default ROOT is just a placeholder anyway. --David Gregor Schneider wrote: take a look into your access-logs for a 404-error. then you shoul

Re: URL Redirection

2006-09-21 Thread Ashirvad Uniyal
pplication is renamed as ROOT. Regards, Ash Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: Re: URL Redirection I renamed the application to ROOT and everything works fine except that all the images (gif) have all together vanished How are you referencing

Re: URL Redirection

2006-09-21 Thread David Smith
ed as ROOT. Regards, Ash Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: Re: URL Redirection I renamed the application to ROOT and everything works fine except that all the images (gif) have all together vanished How are you referencing the image

Re: URL Redirection

2006-09-21 Thread Ashirvad Uniyal
Hello, If the application is renamed say for example "Test" or anything, everything works fine and the gif appear but they just vanish if the application is renamed as ROOT. Regards, Ash Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subjec

Re: URL Redirection

2006-09-21 Thread Gregor Schneider
take a look into your access-logs for a 404-error. then you should see the access-code where tomcat looks for the pics. you'll have to change the links then. btw., renaming your web-app to ROOT is the worst of all solutions: Since this is a standard-app of tomcat, your client will pretty much lik

Re: URL Redirection

2006-09-21 Thread Ashirvad Uniyal
Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: Re: URL Redirection I renamed the application to ROOT and everything works fine except that all the images (gif) have all together vanished How are you referencing the images? Do you have a hard-coded

Re: URL Redirection

2006-09-20 Thread David Smith
Look at the paths to your gif files in the browser. I suspect the paths were hard coded to the /Mondrian context. --David Ashirvad Uniyal wrote: Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: URL Redirection the problem is the client has to always

RE: URL Redirection

2006-09-20 Thread Caldarale, Charles R
> From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] > Subject: Re: URL Redirection > > I renamed the application to ROOT and everything works fine > except that all the images (gif) have all together vanished How are you referencing the images? Do you have a hard-coded URL in the

Re: URL Redirection

2006-09-20 Thread Ashirvad Uniyal
Caldarale, Charles R wrote: From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: URL Redirection the problem is the client has to always type http://abc.com/Mondrian/index.jsp in the address bar, rather than typing only http://abc.com/index.jsp. Rename your application to ROOT

Re: URL Redirection

2006-09-19 Thread Markus Schönhaber
Ashirvad Uniyal wrote: > There is an application made in Tomcat in the webapps\Mondrian > directory, the application is already being used by the clients, > the problem is the client has to always type > http://abc.com/Mondrian/index.jsp in the address bar, rather than typing > only > http://abc.co

RE: URL Redirection

2006-09-19 Thread Caldarale, Charles R
> From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] > Subject: URL Redirection > > the problem is the client has to always type > http://abc.com/Mondrian/index.jsp in the address bar, rather > than typing only > http://abc.com/index.jsp. Rename your application to ROOT (c

Re: URL Redirection

2006-09-19 Thread Mikolaj Rydzewski
Ashirvad Uniyal wrote: There is a bug that i have to fix, please help. Is there a bug? You can deploy your app in the root context. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

URL Redirection

2006-09-19 Thread Ashirvad Uniyal
Hello All, There is a bug that i have to fix, please help. There is an application made in Tomcat in the webapps\Mondrian directory, the application is already being used by the clients, the problem is the client has to always type http://abc.com/Mondrian/index.jsp in the address bar, rather t

Re: URL Redirection in tomcat

2006-07-10 Thread Hassan Schroeder
On 6/29/06, santhoshs <[EMAIL PROTECTED]> wrote: Am using Tomcat 5.0 . My requirement is to redirect the URL "http://username.mysite.com"; to "http://username.site.com/application.do?login_name=username";. My Question is whether should i use apache for this redirection or can i achieve this u

Re: URL Redirection in tomcat

2006-07-10 Thread 0 8
URL , in the sense the New URL should not be reflected in the address bar. My Question is whether should i use apache for this redirection or can i achieve this using tomcat itself ? If so what should I do to achieve this ? Thanks and Regards, Santhosh -- View this message in context: http://www.

Re: URL Redirection in tomcat

2006-07-09 Thread santhoshs
Is there anybody to help me ??? -- View this message in context: http://www.nabble.com/URL-Redirection-in-tomcat-tf1867090.html#a5246817 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail

URL Redirection in tomcat

2006-06-29 Thread santhoshs
Question is whether should i use apache for this redirection or can i achieve this using tomcat itself ? If so what should I do to achieve this ? Thanks and Regards, Santhosh -- View this message in context: http://www.nabble.com/URL-Redirection-in-tomcat-tf1867090.html#a5101383 Sent from the To