MJ Ray wrote:
Any apache gurus on the list,
I've been doing some site development, and rather than have to tweak all the addresses, I added 127.0.0.2 sitename to the /etc/hosts file and defined 127.0.0.2 as a virtual host. I don't know why, but I feel that's a bad thing to do: is it?O
On the contrary, it is the reccommended way of doing various loopback thingies when you want to keep life simple.
However, to get an apache virtual server you do not actually need distinct addresses. You can have as many names as you like on the one address (just don't use 127.0.0.1) and put the new names both in the VirtualServer and the ServerName lines.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]