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

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
and rewrite.config file should be put in WEB-INF folder of apache-tomcat Thnks, Ammu On Thu, Apr 18, 2024 at 1:22 PM Mark Thomas wrote: > 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 u

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
Thanks Ammu On Thu, Apr 18, 2024 at 2:17 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Ammu, > > On 4/18/24 07:45, lavanya tech wrote: > > I added classname rewrite vale

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
to the documentaion they say context.xml should be placed under webapps and rewrite.config file should be put in WEB-INF folder of apache-tomcat . I placed and restarted tomcat webserver but still it doesnot redirect. Thnks, Ammu On Thu, Apr 18, 2024 at 1:36 PM lavanya tech wrote: > Hi Thomas, > &g

Re: Regarding Tomcat url redirection

2024-04-22 Thread lavanya tech
hultz < ch...@christopherschultz.net> wrote: > 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-I

Re: Regarding Tomcat url redirection

2024-04-22 Thread lavanya tech
<% response.sendRedirect("/towl"); %> Thanks, amm On Mon, Apr 22, 2024 at 11:21 AM lavanya tech wrote: > 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 wante

Re: Regarding Tomcat url redirection

2024-04-24 Thread lavanya tech
Apr 23, 2024 at 10:52 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > 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 fi

Re: Regarding Tomcat url redirection

2024-04-24 Thread lavanya tech
n 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 vi

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: >

Re: Regarding Tomcat url redirection

2024-04-25 Thread lavanya tech
SAN certificate ? Thanks, Lavanya On Thu, Apr 25, 2024 at 10:16 AM lavanya tech wrote: > 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

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 questio

Re: Regarding Tomcat url redirection

2024-04-19 Thread lavanya tech
e suggestions. Thanks Ammu On Fri, Apr 19, 2024 at 1:21 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Ammu, > > On 4/18/24 09:34, lavanya tech wrote: > > I am attaching server.xml and context.xml and rewrite.config files. > > T

Re: Regarding Tomcat url redirection

2024-04-30 Thread lavanya tech
additional configuration in Tomcat (specifically: proxyPort) to avoid having Tomcat generate URLs with ":8443" in them. Looking forward to your reply. Thanks, Lavanya On Mon, Apr 29, 2024 at 2:03 PM lavanya tech wrote: > Hi Chris, > > There is no issues with browse

Re: Regarding Tomcat url redirection

2024-05-09 Thread lavanya tech
nya On Wednesday, May 8, 2024, Christopher Schultz wrote: > 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. >>

Re: Regarding Tomcat url redirection

2024-05-09 Thread lavanya tech
://server.lbg.com:8443/towl and https://example.lbg.com I will configure and if I face any issues I will write to you. Thanks, Lavanya On Thursday, May 9, 2024, Christopher Schultz wrote: > Lavanya, > > On 5/9/24 02:58, lavanya tech wrote: > >> Just giving background again o

Re: Regarding Tomcat url redirection

2024-05-10 Thread lavanya tech
ce(HttpServlet.java:658) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) On Thu, May 9, 2024 at 11:20 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Lavanya, > > On 5/9/24 13:48, lavanya tech wrote: > > Thank you so much for your explanation.

Re: Regarding Tomcat url redirection

2024-05-10 Thread lavanya tech
stroy()) can be left empty for this example } Thanks, Lavanya On Fri, May 10, 2024 at 10:37 AM lavanya tech wrote: > Hi Chris, > > I tried the below and have the issues. > > 1)proxyPort="443" and proxyName="example.lbg.com" to the connector > 2) remanmed

Re: Regarding Tomcat url redirection

2024-05-08 Thread lavanya tech
t; > 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 por

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
than saying redirection, I would say it’s aliasing. Instead of moving applications or changing tomcat configuration it’s easier to achieve with reverse proxy ? https://example.lbg.com/ to https://server.lbg.com:8443/towl Kindly let me know what’s the best way. Thanks, Ammu > > -chris &

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
ess https:// <https://denue-lp-build001.nbg.nokia.net/grok>server.lbg.com.8443/towl rsp. localhost:8443/towl can we achieve this with tomcat or we need to setup an reverse proxy here. Pleaes kindly suggest Thanks, Lavanya On Mon, May 13, 2024 at 10:17 PM lavanya tech wrote: > Hi Chri

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
wrote: > 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 >>

Re: Regarding Tomcat url redirection

2024-05-13 Thread lavanya tech
wrote: > 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.lb

Re: Regarding Tomcat url redirection

2024-05-15 Thread lavanya tech
topher 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 post to the list, s

Re: Regarding Tomcat url redirection

2024-04-29 Thread lavanya tech
Schultz < ch...@christopherschultz.net> wrote: > 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.l

Re: Regarding Tomcat url redirection

2024-05-13 Thread lavanya tech
r deleting cookies url works where Am I going wrong. Thanks, Lavanya On Fri, May 10, 2024 at 6:50 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Lavanya, > > On 5/10/24 04:37, lavanya tech wrote: > > I tried the below and have the issues. > > >

Re: Regarding Tomcat url redirection

2024-05-13 Thread lavanya tech
ork https://example.lbg.com/ to https://server.lbg.com/towl Thanks, Lavanya On Mon, May 13, 2024 at 9:41 AM lavanya tech wrote: > Hi Chris, > > Where are you defining the RewriteValve itself? > > Defined rewritevalve here >unpackWARs=&q