Redirect from specific ip address with httpd-vhosts.conf
soolmaan
10:03 am on Sep 20, 2010 (gmt 0)
Hi Everyone,
I have a virtual host configured in httpd-vhosts.conf and I want from one ip-address to be redirected to a different virtual host. Is this possible? If yes, how would I do this?
Thanks!
yaba
11:48 am on Sep 20, 2010 (gmt 0)
yes it is. Assuming apache2 instalation do this:
Create a new file "virtual.conf" at /etc/apache2/conf.d with NameVirtualHost *
now, at sites-available create each virtualhost something like: