Apache VirtualHost QS
Hi all,
Just wonderin if in apache its possible to do something like have virtual hosts set-up as follows:- Code:
<VirtualHost 192.168.0.1> Sound Viable?? Cheers, M |
Quote:
http://httpd.apache.org/docs/2.0/mod...tml#servername |
Yea thanks, i had already read that of course. And can't see that it really answers my question, reverse DNS wouldn't really work in the instance i'm talking about... perhaps you can explain it a bit more... i'm looking more at IP based virtual hosts in the hope that i can achieve basically setting lots of DNS names at one VH and another load of DNS names at another VH and then depending on which DNS name typed in depends of course on what IP address you hit, and then depending on the IP address hit i'm hoping that any request to that IP address will be taken to it relevent DocRoot... i guess this is something i could just test with out asking here.... but i thought it would be best to try and understand more on what i'm trying to achieve because i couldn't see anything on the apache docs and other places that relate to what i'm trying to achieve.
|
do you have those ip added to your apache server network interface ?
|
Quote:
Cheers, M |
yeah with lan ip set in the container you can have many many web use with
ip , but for me better you named base , but if still need to use ip then the ip also must be aliases in the NIC in the lan also you can use named base provided you have your local dns set point domain to local ip and another part is in /etc/hosts in that server itself |
Quote:
Without the need for any DNS entries anywhere... i'd have thought this was possible but maybe i'm wrong? Its certainly possible if setting up a second apache instance or whatever because you can just set the _default_ and then send all requests to that. But i'm trying to get a similar thing done without needing a second apache instance but still catching everything to either one or the other DocRoot? Cheers, M |
All times are GMT -5. The time now is 01:57 PM. |