[Apache] Virtual Hosting question
Ok.....so here's one for the Apache gurus out there.
The company I work for has a webserver hosting a website at a publicly available IP address, and they also have an intranet that they want to hook up to the same server, but the intranet is only to be accessible by internal employees. Now, the machine itself has one network interface on a 192.168.*.* address. The public IP address is further up the network on our subnet and redirects the http query to the webserver.
Now, I was thinking that to set up the intranet properly, I would modify the Apache config to create a virtual host for the internal 192.168.*.* address that pointed to the directory containing the intranet files. That way, employees could access it only if they were on the inside of the network because they wouldn't be able to get to that IP address otherwise. Unfortunately, I do not know how to do this, or if it's even possible. I've gone through the virtual hosting documentation that Apache provides, but can't find any config setup that exactly matches what I'm trying to do.
Anybody have any ideas?
__________________
This space not for rent.
|