ok heres the deal
at work i have a windows box running apache 1.3.28 with local ip
192.168.100.1 which will herein be referred to as "Steve".
i use apache on that box for development purposes
i have an adsl connection with static ip 1.2.3.4 and a dlink dsl-504
modem/router which i use for NAT and which has a redirect for port 80 to
192.168.100.1
at home i have a pc that has internet access which will herein be referred
to as "Reginald".
i want to be able to type in 'localhost' into my browser on "Steve" and have
apache take me to my development folder. it already does this.
i want to be able to type in 1.2.3.4 into my browser on "Reginald" and have
the apache server on "Steve" take me to the folder /shared which is in the
development folder. it does not do this.
i am assuming that an ip based virtualhost is the way to go, but at the
moment it serves the same page to "Reginald" as it does to "Steve".
can anyone suggest a virtualhost config i could use or is there another
apache directive i have not set properly?
thanks in advance.
sticks
>> Stay informed about: ip vhosts and localhosts