Thanks a bunch that helped me figuring it out : )
Best regards from Germany!
Am 08.11.2011 um 23:06 schrieb Igor Cicimov:
> RewriteCond %{HTTP_HOST} example\.com$ [OR]
> RewriteCond %{HTTP_HOST} example\.net$
> RewriteRule ^/$ www.example.de [blabla]
>
> Or even in one line maybe
> RewriteCon
RewriteCond %{HTTP_HOST} example\.com$ [OR]
RewriteCond %{HTTP_HOST} example\.net$
RewriteRule ^/$ www.example.de [blabla]
Or even in one line maybe
RewriteCond %{HTTP_HOST} example\.(com|net)
the rest is same
On Nov 9, 2011 8:56 AM, "Lukas C. C. Hempel" wrote:
> yeah, but that would not forward
On Tue, Nov 8, 2011 at 3:19 PM, Lukas C. C. Hempel wrote:
> Hi there,
>
> I have a problem with an htaccess file.
>
> I own three domains: example.com, example.de and example.net. They all refer
> to the same webhosting space (= alias domains).
>
> What I have succeeded in is that when I enter ex
yeah, but that would not forward www.example.com/test.php to
www.example.de/test.php, does it?
Am 08.11.2011 um 22:54 schrieb Igor Cicimov:
> Or you can use VirtualHost for example.de and put example.com and example.net
> as Alias...
> On Nov 9, 2011 8:51 AM, "Igor Cicimov" wrote:
> Are you u
Or you can use VirtualHost for example.de and put example.com and
example.net as Alias...
On Nov 9, 2011 8:51 AM, "Igor Cicimov" wrote:
> Are you using separate VirtualHost for each domain? If you are, and thats
> the way i would have done it, then just redirect the root / of those two
> Virtua
Thanks for your promt reply. I am using the same virtualhost, i wanted to do a
clean forwarding via the htaccess thing : )
Am 08.11.2011 um 22:51 schrieb Igor Cicimov:
> Are you using separate VirtualHost for each domain? If you are, and thats the
> way i would have done it, then just redire
Are you using separate VirtualHost for each domain? If you are, and thats
the way i would have done it, then just redirect the root / of those two
VirtualHost to example.de
On Nov 9, 2011 8:20 AM, "Lukas C. C. Hempel" wrote:
> Hi there,
>
> I have a problem with an htaccess file.
>
> I own thre
Hi there,
I have a problem with an htaccess file.
I own three domains: example.com, example.de and example.net. They all refer to
the same webhosting space (= alias domains).
What I have succeeded in is that when I enter example.com or example.de it
refers to www.example.de. I did that with th