I need to rewrite the url of a domain and the calls of its pages (e.g.: http://www.caminettohotel.it/index.shtml ) to another domain (e.g.: http://www.mediatourist.it/Ita/Hotel_ca ... ndex.shtml).
I try with:
- Code: Select all
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteRule ^(.*)$ http://www.mediatourist.it/Ita/Hotel_caminetto/$1 [L]
but I get
- Code: Select all
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@register.it and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8b DAV/2 PHP/5.1.2 Server at www.caminettohotel.it Port 80
Is it possible? What is wrong?
Thank you very much.