Priya,
I tried:
Redirect permanent /index.jsp http://server/app/index.jsp
and definitely got the loop you are referring to. The URL came out as:
http://server/appappappappappappappappappappappappappappapp

I also tried the following with the same result:

Redirect permanent / http://server/app/index.jsp
Redirect permanent /* http://server/app/index.jsp
Redirect permanent /*/ http://server/app/index.jsp

Is there any other info that I can give that would help?

Thanks,
John





I think the redirect rule entered into a loop and unable  to process
 
Did  you try
Redirect permanent /application  http://server/application
 
Does /application internally call any JSP before loading the page?
 
For eg: in or env, we have a /*, that internally calls a index.jsp and then index.jsp internally calls login.jsp
 
I had to say
 
 Redirect /*/loginjsp  https://example.com to make it work.
 
Thanks
Priya
 
From: John.C.Kennedy@LDHEnergy.com [mailto:John.C.Kennedy@LDHEnergy.com]
Sent:
Wednesday, May 05, 2010 1:47 PM
To:
users@httpd.apache.org
Subject:
[users@httpd] Redirect question

 

I have checked the archives since I am sure this has been asked before but can not find an answer.


I have an application running on a server at:

http://server/application

My user wants me to set up so that

http://application
will redirect to:

http://server/application

I have DNS set up and now if I go to:

http://application/application
the correct page is displayed. I just can not seem to get

http://application
to go to the right place.


I have tried to use Redirect:

Redirect permanent /
http://server/application
but I then get:

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.


What am I doing wrong?


Thanks,

John