You should not have HTTP_HOST in your pattern according to the apache documentation :
A RewriteRule consists of three arguments separated by spaces. The
arguments are :
- Pattern: which incoming URLs should be affected by the rule;
- Substitution: where should the matching requests be sent;
- [flags]: options affecting the rewritten request.
The Pattern is a regular expression. It is initially (for the first
rewrite rule or until a substitution occurs) matched against the
URL-path of the incoming request (the part after the hostname but
before any question mark indicating the beginning of a query string)
Your rule should be something like :
RewriteRule /test/client/this_is_test_page.php$ /test/test-page [NC,R=301,L]
And you should have mod_rewrite
enabled, RewriteEngine On
and AllowOverride
.