Is it possible to change the $_SERVER['HTTP_HOST'] in htaccess?
snippet in htaccess

Is it possible to change the $_SERVER['HTTP_HOST'] in htaccess?

user6226

# .htaccess
php_value auto_prepend_file alter_host.php

# alter_host.php
<?php
    $_SERVER['HTTP_HOST'] = 'anotherdomain.com';
?>