Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat based redirection

 
Lee Fei Tye
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have 2 Domain name pointing to the same server.

How can i redirect the first domain name to resolve it to a sub directory of the second domain?

I tried using .htaccess with no luck.

Cheers.
~Nick
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the Apache module called mod_rewrite should be able to do this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic