Eric Covener wrote:
On Tue, Dec 30, 2008 at 10:30 AM, Olivier Sannier wrote:
So I tried to adapt the given example and modified my .htacess file to this:
---
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain.com
On Tue, Dec 30, 2008 at 1:09 PM, ernst schoen-rene wrote:
> The way to deal with this is never in the .htaccess file but in the virtual
> hosts configuration. If you do not have access to this, you need to ask
> whoever does to make sure that www.domain.com and domain.com both go to the
> same vi
The way to deal with this is never in the .htaccess file but in the virtual
hosts configuration. If you do not have access to this, you need to ask
whoever does to make sure that www.domain.com and domain.com both go to the
same virtual host.
for instance, these lines in your httpd.conf file or h
On Tue, Dec 30, 2008 at 10:30 AM, Olivier Sannier wrote:
>
> So I tried to adapt the given example and modified my .htacess file to this:
>
> ---
> RewriteEngine On
>
> RewriteCond %{HTTP_HOST} ^mydomain.com [NC]
> Rewrite
Hi all,
I have a website with an associated domain name hosted by a third party
provider.
They let me place .htacess files in folders and mod_rewrite is enabled.
I would like that any request for "mydomain.com" be redirected to
"www.mydomain.com" while letting through any request for other thi