Alias code in Apache

If you want to add alias in apache, place this code in apache.conf or httpd.conf (depending on your OS)

Alias /alias_name/ “/var/www/alias_dir/”
<Directory “/var/www/alias_dir”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

0