Help!!! Where's the problem?

New to mod_rewrite? This is a good place to start.

Help!!! Where's the problem?

Postby redprive » Wed Dec 28, 2005 1:44 am

Hi, I want to redirect a subdomain to other subdomain. I have created a htaccess file with next rules:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^mail.domain\.com
RewriteRule ^(.*) http://webmail.domain.com/$1 [R=301,L]
DirectoryIndex index.php index.htm index.html
IndexIgnore *


But it don't function.

Could you help me?

Thankx
redprive
 
Posts: 2
Joined: Tue Dec 13, 2005 12:47 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 7 guests

cron