I want to create an alias to a folder in Apache2(with centos 6 and PHP5.4). My idea is to migrate a project from one server to another.
Example:
htaccess:
SetAlias /home/before.com/ /home/after.com/
PHP
include( '/home/before.com/header.php' );//include header from "/home/after.com/"
Thanks!