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
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
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
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
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
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
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.
>>
>
>
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
> 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
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\.
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
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
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
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
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.
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
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?
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
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
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
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:
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
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
/>
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
t;> Removed < in rewrite.config files.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> But still I dont redirect the URL.
> >>>>>>>>>>>>>
> >>>>>>&
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
le.com
>> >>>>>>>>>> <http://alias.example.com>"*
>> >>>>>>>>>> But https://www.example.com:/example --> works fine with
>> out
>> >>>>>>>>>>
>>
> >>>>>>>>> $ curl -v http://example.com:/something
> >>>>>>>>>
> >>>>>>>>> HTTP/1.1 301 Moved Permanently
> >>>>>>>>> ...
> >>>>>>>>>
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:
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
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.
>>> >>>>
t;> >>>>>>>>
>> >>>>>>>> On 4/18/24 09:34, lavanya tech wrote:
>> >>>>>>>>
>> >>>>>>>>> I am attaching server.xml and context.xml and rewrite.con
;>>> This file ^^^ is in the wrong place. It should be in
> >>>>>>>> /git/app/apache-tomcat-10.1.11/webapps/towl/META-INF/context.xml
> >>>>>>>>
> >>>>>
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
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
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
>>>>>>> created rewrite.config so both of them is located under conf under
> >>>>>>> apache-tomcat.
> >>>>>>>
> >>>>>>>
> >>>>>>>
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
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
>>
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
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
assName="org.apache.catalina.valves.rewrite.RewriteValve"
> >> />
> >>>>
> >>>>
> >>>> created rewrite.config so both of them is located under conf under
> >>>> apache-tomcat.
> >>>>
> >>>&g
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"/>
> >>
> >> 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,
> >>>>
>
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
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
> > 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
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
ggest.
The url alone https://www.servercom:/ already works. But just
redirection from the old to one doesnot.
example.com
example.com
e
:
>>> 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
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
-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.
>
>
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
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
-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
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
-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
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
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
> 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
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
-tomcat-url-based-redirection-partially-works
Regards,
Kernel
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
>
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
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
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/
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.
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
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
-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
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
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
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
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
> 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
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.
--
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:
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
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
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
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
> 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
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
>
>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,
>>
>
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
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
>
- 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,
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
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
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
-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
- 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
> 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
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
> 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
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/
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
*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
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
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 - 100 of 268 matches
Mail list logo