500 internal server error


#1

I write it in .htaccess file as follows.

[code]
RewriteEngine on

RewriteCond %{QUERY_STRING} ^$
RewriteRule ([^\s]+).php$ $1.php?BAD_HOSTING=%{HTTP:Authorization}

RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ([^\s]+).php $1.php?%1&BAD_HOSTING=%{HTTP:Authorization}
[/code]
It moves with other servers, but becomes 500 errors in the case of dreamhost…

Please advise for me.