I posted this in the apache group also, but I think it might be more applicable here:
I was wondering if there was a way to setup apache so that it forwarded requests for a certain directory to another machine.
The problem I am trying to solve is this: I have two linux boxes behind a gateway that ip-masquerades them at home. one pc serves my personal website and email, the other is for personal uses like surfing the web and experimenting with. I would like to access the second using webmin with ssl, and be able to access the first using ssl also (so that I can check my email). This would be easy to solve using port forwarding; however, my company blocks all connections that are not on 80 or 443, so both machines have to share 443. Assuming my web server is at I would like to be able to access webmin on the second machine by say typing in: and access my email on the first machine by typing .To do this I would need all initial requests to be forwarded to the first machine, and then if the request is for the directory /webmin/ they would then be masqueraded/forwarded to the second machine. Is there a way to do this?? What about using a different domain name instead .... so rather than it would be . Is there a way to setup a linux box as a gateway that forwards based on domain name as opposed to ip address? What about apache, can that be setup to do this?
-Venkman
I was wondering if there was a way to setup apache so that it forwarded requests for a certain directory to another machine.
The problem I am trying to solve is this: I have two linux boxes behind a gateway that ip-masquerades them at home. one pc serves my personal website and email, the other is for personal uses like surfing the web and experimenting with. I would like to access the second using webmin with ssl, and be able to access the first using ssl also (so that I can check my email). This would be easy to solve using port forwarding; however, my company blocks all connections that are not on 80 or 443, so both machines have to share 443. Assuming my web server is at I would like to be able to access webmin on the second machine by say typing in: and access my email on the first machine by typing .To do this I would need all initial requests to be forwarded to the first machine, and then if the request is for the directory /webmin/ they would then be masqueraded/forwarded to the second machine. Is there a way to do this?? What about using a different domain name instead .... so rather than it would be . Is there a way to setup a linux box as a gateway that forwards based on domain name as opposed to ip address? What about apache, can that be setup to do this?
-Venkman