Dear all,
Hi, I would like to allow users getting redirected to www.mydomain.com if
they enter mydomain.com in the browser. I added rewrite rule in the
..htaccess that comes with symfony 1.2 but the rewrite rule does not seem to
work. When users enter mydomain.com, their browser continues to
The second line after the RewriteCond is wrong.
It should be more like:
RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*) http://www.mydomain.com$1 [QSA,L,R=301]
Bascht
On 15.01.10 14:16, YTH wrote:
Dear all,
Hi, I would like to allow users getting redirected to
the problem with the rule, making it
failed to work.
- Original Message -
From: Sebastian Schulze maili...@bascht.com
To: symfony-users@googlegroups.com
Sent: Friday, January 15, 2010 9:21 PM
Subject: Re: [symfony-users] Why doesn't the mydomain.com - www.mydomain
rewrite rule work