Alright, solved this. I used a virtual host config in Apache to create a
second mock page address to redirect to on a different port - seems to break
the loop that normally happens when self-redirecting with mod_rewrite. Many
thanks though to those that tried to help with the vlan/multiple IP method.
> I'm on an old Devil ( 1.2rc1) and the interface alias is configured by
> did you try to configure your interface alias by Hand
> to see if the alias work on DL
> If it's works we could see why it's doesn't start with ifcfg-vlan352:0
> and you can add interface start in your starting scripts
> ifconfig vlanxxx:0 address A.B.C.D netmask xxx broadcast yyy up
Unfortunately, that doesn't quite work either. It creates the interface
without error, but then both private IPs seem to become unpingable. Another
work around for this, as I think on it, might be to also have Apache use a
virtual host to listen on one port and redirect to itself on another.
The reason for this little endeavour is that this box acts as a poisoned DNS
that forces all attempts to get anywhere to resolve to itself. Apache then
rewrites the URL to point to it's own page which informs the user of the
limited options that they have on this particular network. Unfortunately,
because it uses mod_rewrite to redirect to itself on the same port with the
poisoned DNS, it creates an infinite loop. Firefox is smart enough to tell
you so, IE just keeps at it until your CPU dies a flaming death.
The use of an additional IP was to separate the DNS from Apache, but also
having apache listen and host on two ports via a virtual server or multiple
instances would likely work too. Heh - I think I just broadened the scope a
tad. Any thoughts?
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Devil-linux-discuss mailing list
Network Operations Centre
University of Western Ontario
Tel: 519-661-2111 ext. 86558