Solved

How to forward this URL?

Posted on 2011-03-16
2
310 Views
Last Modified: 2013-12-24
Hi experts,

Here is a quick question about url forwarding.

Any urls of
http://corporate.myfoo.com/
http://corporate.myfoo.com/public/*.jsp

should be automatically forward to

http://www.myfoo.com/


The "*.jsp" means any jsp modules in the "public" directory.

I work on Linux and Spring.

Any suggestions/ideas? Or any links that you would like to share with me?

Thanks a lot.

0
Comment
Question by:davidw88
2 Comments
 
LVL 1

Accepted Solution

by:
endege earned 250 total points
ID: 35149243
You can find info and code on this page: http://en.wikipedia.org/wiki/URL_redirection
0
 

Author Comment

by:davidw88
ID: 35149395
Cool. Thanks endege!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question