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
put all of the above in conf/rewrite.config and configure the under your just as you had it before. If you want aliasing and not redirection, then you don't want the [R] flag. IMO, you should really do a redirect. If you don't, then the application and the browser disagree about

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
come in. >>> >> >> - Yes, I have not built these UrLs before. It’s was working from the >> very >> beginning. As. I mentioned we are not able to reach goal or whatever. >> >> Rather than saying redirection, I would say it’s aliasing. >> > >

Re: Regarding Tomcat url redirection

2024-05-14 Thread Christopher Schultz
aying redirection, I would say it’s aliasing. Please be specific. "Aliasing" (to me) means "the URL does to the right place but doesn't change in the browser's URL" and "redirection" (to everybody) means "HTTP 301 or 302 response to a new URL". Instead

Re: Regarding Tomcat url redirection

2024-05-14 Thread lavanya tech
> those yourself, or are you asking Tomcat for the e.g. hostname, etc.? If > it's Tomcat, this is where the proxyName and proxyPort come in. - Yes, I have not built these UrLs before. It’s was working from the very beginning. As. I mentioned we are not able to reach goal or whatever. R

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\.

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$ RewriteR

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
/> 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.config file should be put in WEB-INF folder of apache-tomcat

Re: Regarding Tomcat url redirection

2024-05-08 Thread lavanya tech
t;> Removed < in rewrite.config files. > >>>>>>>>>>>>> > >>>>>>>>>>>>> But still I dont redirect the URL. > >>>>>>>>>>>>> > >>>>>>&

Re: Regarding Tomcat url redirection

2024-04-30 Thread Christopher Schultz
e.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 < ma...@apache.org> 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

Re: Regarding Tomcat url redirection

2024-04-30 Thread lavanya tech
le.com >> >>>>>>>>>> <http://alias.example.com>"* >> >>>>>>>>>> But https://www.example.com:/example --> works fine with >> out >> >>>>>>>>>> >>

Re: Regarding Tomcat url redirection

2024-04-29 Thread lavanya tech
> >>>>>>>>> $ curl -v http://example.com:/something > >>>>>>>>> > >>>>>>>>> HTTP/1.1 301 Moved Permanently > >>>>>>>>> ... > >>>>>>>>>

Re: Regarding Tomcat url redirection

2024-04-26 Thread Christopher Schultz
of apache-tomcat Thnks, Ammu On Thu, Apr 18, 2024 at 1:22 PM Mark Thomas < ma...@apache.org> 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 url from https:

Re: Regarding Tomcat url redirection

2024-04-26 Thread Christopher Schultz
So according 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 Thnks, Ammu On Thu, Apr 18, 2024 at 1:22 PM Mark Thomas < ma...@apache.org> wrote

Re: Regarding Tomcat url redirection

2024-04-25 Thread lavanya tech
just >>> >>>>>> anything that ends in "example.com". You'd have to use a >>> glob/regex if >>> >>>>>> you wanted to check for [anything and maybe nothing.]example.com. >>> >>>>

Re: Regarding Tomcat url redirection

2024-04-25 Thread lavanya tech
t;> >>>>>>>> >> >>>>>>>> On 4/18/24 09:34, lavanya tech wrote: >> >>>>>>>> >> >>>>>>>>> I am attaching server.xml and context.xml and rewrite.con

Re: Regarding Tomcat url redirection

2024-04-25 Thread lavanya tech
;>>> This file ^^^ is in the wrong place. It should be in > >>>>>>>> /git/app/apache-tomcat-10.1.11/webapps/towl/META-INF/context.xml > >>>>>>>> > >>>>>

Re: Regarding Tomcat url redirection

2024-04-24 Thread Christopher Schultz
h 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.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 wrot

Re: Regarding Tomcat url redirection

2024-04-24 Thread lavanya tech
loy from your >>>>>>> webapps/towl directory. If you need this application to be deployed >>>>>>> as >>>>>>> the ROOT context (on / and not /towl) then you should re-name >>>>>>> /git/app/apache-tomcat-10.1.11/w

Re: Regarding Tomcat url redirection

2024-04-24 Thread Christopher Schultz
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 url from https://example.com to https://www.se

Re: Regarding Tomcat url redirection

2024-04-24 Thread lavanya tech
>>>>>>> created rewrite.config so both of them is located under conf under > >>>>>>> apache-tomcat. > >>>>>>> > >>>>>>> > >>>>>>>

Re: Regarding Tomcat url redirection

2024-04-23 Thread Christopher Schultz
nvironment 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 url alone https://www.servercom:7

Re: Regarding Tomcat url redirection

2024-04-22 Thread lavanya tech
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 >>

Re: Regarding Tomcat url redirection

2024-04-22 Thread lavanya tech
ur current server.xml element, and the complete contents > of > >>>> rewrite.config? > >>>> > >>>> Have you looked at the log files after start? > >>>> > >>>> -chris > >>>> > >>>>> On Thu, Apr 18

Re: Regarding Tomcat url redirection

2024-04-19 Thread Christopher Schultz
ote: 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. Do

Re: Regarding Tomcat url redirection

2024-04-19 Thread lavanya tech
assName="org.apache.catalina.valves.rewrite.RewriteValve" > >> /> > >>>> > >>>> > >>>> created rewrite.config so both of them is located under conf under > >>>> apache-tomcat. > >>>> > >>>&g

Re: Regarding Tomcat url redirection

2024-04-19 Thread Christopher Schultz
ps://www.servercom:/ already works. But just redirection from the old to one doesnot. autoDeploy="true"> example.com className="org.apache.catalina.valves.rewrite.RewriteValve"/>

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
> >> > >> 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, > >>>> >

Re: Regarding Tomcat url redirection

2024-04-18 Thread Christopher Schultz
ms to work. Does anyone has ideas. Please suggest. The url alone https://www.servercom:/ already works. But just redirection from the old to one doesnot. autoDeploy="true"> example.com className="org.apache.catalina

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
t; >> > 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 wo

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
> > 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 url alone https://www.servercom:/ a

Re: Regarding Tomcat url redirection

2024-04-18 Thread Mark Thomas
ms to work. Does anyone has ideas. Please suggest. The url alone https://www.servercom:/ already works. But just redirection from the old to one doesnot. example.com e

Re: Regarding Tomcat url redirection

2024-04-18 Thread lavanya tech
ggest. The url alone https://www.servercom:/ already works. But just redirection from the old to one doesnot. example.com example.com e

Re: Which Connector properties will be used in case of redirection?

2018-01-18 Thread Christopher Schultz
: >>> Read timed out" after 60 Sec mark. >>> >>> In our app, httpd routes requests to then it get >>> redirected to 8889. >> >> Can you be very explicit about what you mean by "redirect", >> here? > > I was talking abou

Re: Which Connector properties will be used in case of redirection?

2018-01-17 Thread Suvendu Sekhar Mondal
explicit about what you mean by "redirect", here? I was talking about auto redirection from to 8889 by Catalina. >> Connector which listens on has connectionTimeout=2 but the >> one which listens to 8889 does not have any connectionTimeout set >> explicitl

Re: Which Connector properties will be used in case of redirection?

2018-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Suvendu, Which version of Tomcat? On 1/17/18 8:20 AM, Suvendu Sekhar Mondal wrote: > I am seeing one issue. Under high load sporadically one web > service call fails with: "java.net.SocketTimeoutException: Read > timed out" after 60 Sec mark. > >

Which Connector properties will be used in case of redirection?

2018-01-17 Thread Suvendu Sekhar Mondal
Hello Everyone, I am seeing one issue. Under high load sporadically one web service call fails with: "java.net.SocketTimeoutException: Read timed out" after 60 Sec mark. In our app, httpd routes requests to then it get redirected to 8889. Connector which listens on has connectionTimeout

Re: Redirection/URL rewriting Tomcat 8.5.14

2017-05-12 Thread Daniel Savard
the > > subject line. I am trying to implement a URL rewrite or > > redirection using Tomcat. What I want to do is the following: > > > > In a given instance of Tomcat, I have each application context > > setup using the xml files in > > $CATALINA_BASE/conf/[enginen

Re: Redirection/URL rewriting Tomcat 8.5.14

2017-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 5/12/17 10:03 AM, Daniel Savard wrote: > Hi everyone, > > my question is not specific to the Tomcat version specified in the > subject line. I am trying to implement a URL rewrite or > redirection using Tomcat. What I wa

Redirection/URL rewriting Tomcat 8.5.14

2017-05-12 Thread Daniel Savard
Hi everyone, my question is not specific to the Tomcat version specified in the subject line. I am trying to implement a URL rewrite or redirection using Tomcat. What I want to do is the following: In a given instance of Tomcat, I have each application context setup using the xml files in

Re: tomcat 7.0.70 redirection is not working as expected with https

2016-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Manish, On 9/9/16 2:47 AM, Palod, Manish wrote: > Hi All, Previously I was using apache web server and tomcat for SSL > redirection and web server, in that case redirection from apache to > tomcat was working fine. > > Now I h

tomcat 7.0.70 redirection is not working as expected with https

2016-09-08 Thread Palod, Manish
Hi All, Previously I was using apache web server and tomcat for SSL redirection and web server, in that case redirection from apache to tomcat was working fine. Now I have removed the apache web server and using tomcat only for ssl settings also [server.xml sslEnabled and other related settings

Certificate installation for https causing redirection.

2016-04-14 Thread Weare Borg
Hello friends, Sorry for pushing the question to both Tomcat and Apache, as changes seem to be required in both Apache and Tomcat, so I did that. We have one test server with Debian X64 which has one web-project running in Apache and few webapps running with Apache Tomcat. The Apache web-server r

Re: URL based redirection working partially with Apache tomcat

2015-12-07 Thread Kernel freak
> getting > > appended. Kindly let me know. * > > > > The ironical situation is I have not kept the app_name anywhere, guess > > Tomcat must be retrieving it from POM.xml. > > > > Reference question on SO : > > > http://sta

Re: URL based redirection working partially with Apache tomcat

2015-12-03 Thread Christopher Schultz
ve in 2nd domain the app_name context-path which is getting > appended. Kindly let me know. * > > The ironical situation is I have not kept the app_name anywhere, guess > Tomcat must be retrieving it from POM.xml. > > Reference question on SO : > http://stackoverflow.com/ques

URL based redirection working partially with Apache tomcat

2015-12-03 Thread Kernel freak
-tomcat-url-based-redirection-partially-works Regards, Kernel

Re: Multiple tomcat instances and redirection of URLs to different ports.

2014-07-18 Thread Daniel Mikusa
On Fri, Jul 18, 2014 at 5:27 AM, Ben Calnan wrote: > Hello everybody, > > My question is about multiple tomcat instances and redirection of URLs to > other ports on IIS6 windows server 2003. > > I have two Java apps (web archives) GeoServer and GeoNetwork. Because they >

Multiple tomcat instances and redirection of URLs to different ports.

2014-07-18 Thread Ben Calnan
Hello everybody, My question is about multiple tomcat instances and redirection of URLs to other ports on IIS6 windows server 2003. I have two Java apps (web archives) GeoServer and GeoNetwork. Because they are quite big memory intensive apps, I've heard it's recommended to run two

Re: Error redirection settings

2014-02-19 Thread Randeep
On Wed, Feb 19, 2014 at 7:37 PM, André Warnier wrote: > Randeep wrote: > >> Hi, >> >> I'm using tomcat apache-tomcat-6.0.37 >> I have a few web applications in webapps directory. >> >> portal >> sms >> crm >> >> I'm creating custom error pages. >> >> inside the webapplication "portal" under WEB-I

Re: Error redirection settings

2014-02-19 Thread André Warnier
Randeep wrote: Hi, I'm using tomcat apache-tomcat-6.0.37 I have a few web applications in webapps directory. portal sms crm I'm creating custom error pages. inside the webapplication "portal" under WEB-INF in web.xml I have given the following. 400 /lp/404.html 404 /lp/404.html 500 /lp/

Error redirection settings

2014-02-19 Thread Randeep
Hi, I'm using tomcat apache-tomcat-6.0.37 I have a few web applications in webapps directory. portal sms crm I'm creating custom error pages. inside the webapplication "portal" under WEB-INF in web.xml I have given the following. 400 /lp/404.html 404 /lp/404.html 500 /lp/oops.html java.

RE: Redirection of mycompany.com to www.mycompany.com

2013-12-18 Thread pierre posset
Hi, I have found what was happening, it was one of my colleagues who has put a filter and didin't remember doing that. Thank you. > Date: Tue, 17 Dec 2013 00:30:04 +0400 > Subject: Re: Redirection of mycompany.com to www.mycompany.com > From: knst.koli...@gmail.c

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Konstantin Kolinko
2013/12/16 James H. H. Lampert : > On 12/16/13 9:37 AM, pierre posset wrote: My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. > > > I could be way off-base here (it wouldn't be the first time!), but: > > It could also be that

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pierre, On 12/16/13, 12:23 PM, pierre posset wrote: > I am using tomcat7 on a debian. > > My problem is that when in a browser I am writing mycompany.com I > am redirected with to www.mycompany.com. > > I am using the node host with some nodes ali

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread James H. H. Lampert
On 12/16/13 9:37 AM, pierre posset wrote: My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I could be way off-base here (it wouldn't be the first time!), but: It could also be that your browser thinks it's smarter than you are. I've s

RE: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread pierre posset
Thank you for your answer I will try to see if it is something like that which is happening. > Date: Mon, 16 Dec 2013 12:34:19 -0500 > From: rhi...@sympatico.ca > To: users@tomcat.apache.org > Subject: Re: Redirection of mycompany.com to www.mycompany.com > > On 2013-12-1

Re: Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread Reinhardt Christiansen
create records that cause similar redirections. For example, I can point a domain name, like mydomain.com to xyz.techstuff.net with their records. Perhaps something like that is causing the redirection, rather than any entries on the server itself? I expect other companies provide the same

Redirection of mycompany.com to www.mycompany.com

2013-12-16 Thread pierre posset
Hello, I have a strange behavior and I do not know where to watch. I am using tomcat7 on a debian. My problem is that when in a browser I am writing mycompany.com I am redirected with to www.mycompany.com. I am using the node host with some nodes alias. I have searched in many configuration f

RE: redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not happening in httpd.conf

2012-12-27 Thread Caldarale, Charles R
> From: Dhaval Jaiswal [mailto:dhaval.jais...@via.com] > Subject: redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not > happening in httpd.conf > i have tried through Redirect option to redirect specific page to one *.html > it is not redirecting. Still it is red

redirection of www.xyz.com/xyz to https://xyz.com/xyz.html is not happening in httpd.conf

2012-12-27 Thread Dhaval Jaiswal
i have tried through Redirect option to redirect specific page to one *.html it is not redirecting. Still it is redirecting to old values only. Even i have tried through Rewriterule. Any other efficient way will be helpful to me. --

RE: tomcat redirection

2012-08-06 Thread Finkeldei, Brad
Thanks I am seeing that in a lot of threads I've been researching. Have a good one!! Brad -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: Monday, August 06, 2012 11:06 AM To: users@tomcat.apache.org Subject: Re: tomcat redirection On 8/6/2012 9:

Re: tomcat redirection

2012-08-06 Thread Mark Eggers
On 8/6/2012 9:02 AM, Finkeldei, Brad wrote: We want to do a redirect based on context of the URL. We don't use apache and For example say https://anydomain.com/orders/* To https://anydomain/mtcepage I know how to do in apache but not tomcat... Thanks, Brad This comes up quite a bit in the

tomcat redirection

2012-08-06 Thread Finkeldei, Brad
We want to do a redirect based on context of the URL. We don't use apache and For example say https://anydomain.com/orders/* To https://anydomain/mtcepage I know how to do in apache but not tomcat... Thanks, Brad

Re: xinetd port redirection for Tomcat

2011-11-26 Thread Pierre Goupil
m> wrote: > >> > From: Pierre Goupil [mailto:goupilpie...@gmail.com] >> > Subject: xinetd port redirection for Tomcat >> >> > Shall I use another way of binding Tomcat to port 80? >> >> Try iptables - it's even simpler. Something like the fol

Re: xinetd port redirection for Tomcat

2011-11-26 Thread Pierre Goupil
Thanks Chuck! I'll try it tomorrow. On Sat, Nov 26, 2011 at 9:40 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Pierre Goupil [mailto:goupilpie...@gmail.com] > > Subject: xinetd port redirection for Tomcat > > > Shall I use another

RE: xinetd port redirection for Tomcat

2011-11-26 Thread Caldarale, Charles R
> From: Pierre Goupil [mailto:goupilpie...@gmail.com] > Subject: xinetd port redirection for Tomcat > Shall I use another way of binding Tomcat to port 80? Try iptables - it's even simpler. Something like the following should work: /sbin/iptables -t nat -I PREROUTING -p tcp

xinetd port redirection for Tomcat

2011-11-26 Thread Pierre Goupil
Good evening, I use xinetd in order to bind my Tomcat 7.0.22 instance to port 80 without any Unix privileges, on a Debian 6.0 box. Here's the (slightly obfuscated) configuration file: service www { socket_type = stream protocol= tcp user= root

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-14 Thread Woonsan Ko
> >From: André Warnier >To: Tomcat Users List >Sent: Wednesday, October 12, 2011 11:52 AM >Subject: Re: redirection error due to context path after JAAS authentication >with mod_proxy > >Woonsan Ko wrote: >> Hi, >> >

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Brian Burch
On 12/10/11 17:51, Woonsan Ko wrote: One simple strong reason is that I don't want to run tomcat by root. The debian/ubuntu deb package installs tomcat6 so that it uses authbind to listen on ports < 1024, and it runs under its own non-root uid/gid. I was very impressed when I converted from t

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Pid
On 12/10/2011 17:51, Woonsan Ko wrote: > > - Original Message - >> From: André Warnier >> To: Tomcat Users List >> Cc: >> Sent: Wednesday, October 12, 2011 11:52 AM >> Subject: Re: redirection error due to context path after JAAS authentication >

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Woonsan Ko
- Original Message - > From: André Warnier > To: Tomcat Users List > Cc: > Sent: Wednesday, October 12, 2011 11:52 AM > Subject: Re: redirection error due to context path after JAAS authentication > with mod_proxy > > Woonsan Ko wrote: >> Hi,

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread André Warnier
Woonsan Ko wrote: Hi, I have a reverse proxy configuration like this: ServerName localhost ProxyPreserveHost On ProxyPass / http://localhost:8080/app1/ ProxyPassReverse / http://localhost:8080/app1/ ProxyPassReverseCookiePath /app1 / If it is really like above, then why are

redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Woonsan Ko
tions with more sophisticated configuration for mod_proxy by adding more external server addresses.  However, I'd like to avoid that if possible because the external addresses can be changed/added at any time. Is there any way to customize the redirection after authentication (e.g. by usi

Re: how to set auto redirection in tomcat

2011-02-23 Thread James Godrej
ers List >> Sent: Thu, 24 February, 2011 3:01:01 AM >> Subject: RE: how to set auto redirection in tomcat >> >>> From: James Godrej [mailto:jamesgod...@yahoo.in] >>> Subject: how to set auto redirection in tomcat >> >>> I am using mod_ajp a

Re: how to set auto redirection in tomcat

2011-02-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 2/23/2011 5:16 PM, James Godrej wrote: > - Original Message > From: "Caldarale, Charles R" > To: Tomcat Users List > Sent: Thu, 24 February, 2011 3:01:01 AM > Subject: RE: how to set auto redirection in

Re: how to set auto redirection in tomcat

2011-02-23 Thread James Godrej
- Original Message From: "Caldarale, Charles R" To: Tomcat Users List Sent: Thu, 24 February, 2011 3:01:01 AM Subject: RE: how to set auto redirection in tomcat > From: James Godrej [mailto:jamesgod...@yahoo.in] > Subject: how to set auto redirection in tomc

RE: how to set auto redirection in tomcat

2011-02-23 Thread Caldarale, Charles R
> From: James Godrej [mailto:jamesgod...@yahoo.in] > Subject: how to set auto redirection in tomcat > I am using mod_ajp as a front end Why? What purpose is it serving? If it's not doing anything useful (e.g., handling PHP), you should simplify your life and remove it. > H

how to set auto redirection in tomcat

2011-02-23 Thread James Godrej
I have a site http://social.openitup.in right now what you are seeing is a default Tomcat6 page. I am using mod_ajp as a front end and Apache vhost configuration for same is ServerName social.openitup.in ServerAdmin webmaster@localhost ProxyRequests off

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
27;s response for redirection. If you want IP -> hostname switching, set up a rule that looks for a non-preferred "Host" header and issues a redirect. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

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: the welcome file "index.jsp" returns an 302 redirection

2010-07-08 Thread Bill Barker
that the tomcat returns a 302 redirection and then the tomcat returns the page generated by "welcome.do" action So what can we do to aviod the 302 redirection and let the address bar just show "http://localhost:8080/mysite";. What Pid said: Later versions than 5.0.x do an int

Re: the welcome file "index.jsp" returns an 302 redirection

2010-07-07 Thread Pid
but the >> url in address bar changed to >> "http://localhost:8080/mysite/welcome.do"; >> >> I find that the tomcat returns a 302 redirection and then the tomcat >> returns the page generated by "welcome.do" action >> >> So what can w

  1   2   3   >