Hey all,
I've setup Apache to use virtual hosting, as I'm running multiple sites:
1. whatever.com -> /my/path/whatever.com
2. whatever2.com -> /my/path/whatever2.com
3. whatever3.com -> /my/path/whatever3.com
Now I need to point a virtual host from Apache to another server on my LAN, which is running IIS. I basically need to do this:
whatever4.com -> 192.168.0.3
However, it can't redirect (duh, it's an internal IP) it just needs to alias to my internal windows server. I can't find any config options in Apache to do this.
Any thoughts?
Thanks in advance!
Help with Apache config
Oh dear, slap me sideways. Feel free to delete this post.
I had to add mod_proxy, then simply added:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
ProxyPass / http://192.168.0.3/
ProxyPassReverse / http://192.168.0.3/
</pre><HR></BLOCKQUOTE>
to the virtual host entry. Works like a charm!
I had to add mod_proxy, then simply added:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
ProxyPass / http://192.168.0.3/
ProxyPassReverse / http://192.168.0.3/
</pre><HR></BLOCKQUOTE>
to the virtual host entry. Works like a charm!