I would like to redirect www.example.it
to www.example.com/index-it.php
The website is just a one-page site.
I would like that to happen transparently, in the sense that www.example.it will be still displayed on the address bar after the redirect.
I have tried this but it generates an Internal Server Error.
<VirtualHost *:80>
ServerName www.example.it
RewriteEngine on
RewriteRule ^/.*$ http://www..com/index-it.php [P,L]
</VirtualHost>
This would work instead, but it doesn't provide a transparent redirect:
<VirtualHost *:80>
ServerName www.example.it
RewriteEngine on
#RewriteRule ^/.*$ http://www.example.com/index-it.php [P,L]
Redirect 301 / http://www.example.com/index-it.php
</VirtualHost>
Any idea, please? Thanks.