Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat based redirection  RSS feed

 
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
Posts: 42972
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
Boost this thread!