Add the following in the .htaccess file:
RewriteEngine On
RewriteRule ^test.html$ /test2.html [R=301]
If mod_rewrite works, this will redirect the test.html file to test2.html
In the test.html file place text: Does not work
In the test2.html file place text: Work