Apache Alias Redirection

by Ramya 2013-10-23 18:48:22

Apache Alias Redirection:

You can set alias in Apache to access more than one directory as a server.

You have to set the following option to redirect any web page using .htaccess in alias directory,
* Open to httpd.conf file from the path(eg, E:/xampp/apache/conf/httpd.conf)
* Check for the "Allowoverride" from the following line,
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>


* By default, it will be set to "None".
* Change it to "All".

Finally restart Apache and then redirect your page using .htaccess file.

It will work fine.......Razz
Razz
1088
like
0
dislike
0
mail
flag

You must LOGIN to add comments