2 Apache questions: multiple IP to one server, redirect
I got two apache questions: 1. I am connected via two different lines and get so two different IP addresses from each uplink. I can manage to put both IP addresses into the DNS and it will be taken randomly, but how can I setup the server listen to both IP addresses with all settings? 2. I want to get experience with redirect, but I could not get anything that works. E.g., I want to use the domain name: www1.elmit.com to be redirected to www.elmit.com/~ronald How can I do that? bye Ronald Ronald Wiplinger (ÃQ¤¯¯Ç), CEO, ELMIT - The Solution Provider Tel. +886 2 8809-7680, Fax. +886 2 2809-0183, Mobile: +886 915 653-452 Net2Phone:8869550066, ICQ: 111651169 http://www.elmit.com http://www.wiplinger.org
On Thursday 08 November 2001 6:40 am, Ronald Wiplinger wrote:
I got two apache questions:
1. I am connected via two different lines and get so two different IP addresses from each uplink. I can manage to put both IP addresses into the DNS and it will be taken randomly, but how can I setup the server listen to both IP addresses with all settings?
Use Listen or BindAddress if using virtual hosts: Listen 192.168.1.10:80 BindAddress 192.168.1.10:80
2. I want to get experience with redirect, but I could not get anything that works.
E.g., I want to use the domain name:
www1.elmit.com to be redirected to www.elmit.com/~ronald
How can I do that?
You can do this with (IP-based) VirtualHost, e.g.:
participants (2)
-
Martin Webster
-
Ronald Wiplinger