Thread: www redirect?
View Single Post
  #6  
Old 13th August 2008, 16:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Put this in the Apache Directives field in ISPConfig:

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST}   ^www\.domain2\.com [NC]
RewriteRule ^/(.*)         http://www.domain.com/$1 [L,R]
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote