Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-14-2012, 05:28 AM   PM User | #1
mexabet
New Coder

 
Join Date: Sep 2008
Location: Mexabet.biz
Posts: 81
Thanks: 12
Thanked 0 Times in 0 Posts
mexabet is an unknown quantity at this point
I need help to fix this Mod_Rewrite issue

I need help to configure this: After my web host installed a mail server, my add-on domain (e.g. addondomaintwo.biz) can now be accessed through http://mail.addondomainone.com/addondomaintwo.biz/.

I tried to fix the issue by adding the following code to the public_html/.htaccess, but it didn't work:
Code:
RewriteCond %{HTTP_HOST} ^mail.addondomainone.com$
RewriteRule ^mexabet\.biz\/?$ "http\:\/\/www\.addondomaintwo\.biz\/" [R=301,L]
I simply want http://mail.addondomainone.com/addondomaintwo.biz to redirect to http://www.addondomaintwo.biz/

I'll appreciate your time and help.
mexabet is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:08 AM.


Advertisement
Log in to turn off these ads.