LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache virtual hosts question (https://www.linuxquestions.org/questions/linux-software-2/apache-virtual-hosts-question-252285/)

chrisfirestar 11-08-2004 12:24 AM

apache virtual hosts question
 
Hi everyone,

Having some problems working out how to configure apache to work the way I want.

Basically I have a webserver lets say 192.168.1.2, as www.website.com.
I also have a mailserver running apache as well on 192.168.1.3 called mail.website.com.

What I am wanting is for anyone who accesses 192.168.1.2 using webmail.website.com then it will handle the requests from .2 but actually work with the mailserver's apache.

the mailserver's using mail.website.com/webmail/

Any ideas??

Thanks
Chris

r0b0 11-08-2004 05:24 AM

I guess some mod_proxy and mod_rewrite combined configuration could do the trick. Check rewrite guide and mod_rewrite docs.


All times are GMT -5. The time now is 09:28 AM.