redirect loop

xiaoyunwuAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sweetfa2Commented:
There is an issue with the way struts pages are configured on the server.
0
xiaoyunwuAuthor Commented:
how to solve this, and what to look for to solve this. Only this particular directory is doing this. Not the other directories.
0
sweetfa2Commented:
In your struts configuration (presuming you own the server) look for what the action is to be performed for that page.  You will probably find the action is to append the go.do to the url.  And this appears to be happening recursively.

You will find it in the way that particular page is defined in the struts configuration file.
0
xiaoyunwuAuthor Commented:
I've solve the problem, it's in apache rewrite .htaccess file
Redirect /marketplace http://domain.com/marketplace/go.do was the culprit, and it caused to read the rule over and over again.

Changed to one of the following and both of the following worked.
RedirectMatch (?i)^/marketplace(|/)$ http://domain.com/marketplace/go.do

RewriteRule ^marketplace(|/)$ http://domain.com/marketplace/go.do [L,R,NE,NC]
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
xiaoyunwuAuthor Commented:
This is the solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.