Re: Apache delegation
Hef <[email protected]> Fri, 1 Jul 2011 09:59:11 -0500
| Newsgroups | gmane.org.user-groups.luni.tech |
|---|---|
| Message-ID | <[email protected]> |
For similar tasks, I have run apache with virtualhosting. The virtual host for a particular domain can be setup to proxy calls to another ip/port. Lately I have heard a lot of people preferring nginx for this type of task. On Fri, Jul 1, 2011 at 8:51 AM, Samir Faci <[email protected]> wrote: > This is what I'm trying to do.... and let me know if its easily possible = or not. > > > > big puffy internet cloud --> =A0 * DD-WRT * =A0 --> > VirtualMachineServer--->| =A0.101 -> webapp1 =A0 .102 --> redmine =A0.103= -> > joomla =A0 =A0| > > Lets say domain =3D candy.com > > so.. what I was thinking of doing is having a dedicated to various > tasks like a mysql.candy.com =A0which isn't a big deal since > I don't need that publicly accessible, ldap isn't an issue.. but if I > want to host different web apps on different machines.. > > I know I can do www.candy.com:80 =3D=3D webapp1 =A0 www.candy.com:81 =3D= =3D > redmine =A0 but that's messy.... > > I wanted to setup an apache server that everything hits, that then > forwards the queries to the appropriate one.. that renders or > does what it needs to do.. and then retrieves the data and sends it > back to client. =A0ie. =A0excuse my bad ascii art. > > a request would go something like.... > > > user1 type redmine.candy.com ----> wanIP --> firewall-->master > apache.. =A0*oh, redmine is my .102 address * =A0--> =A0redmine apache > *process.. do stuff return results to master apache --> master apache > return result to user1. > > I'm trying to create what would normally be an apache cluster or some > form, but with only one public IP, so I'm wondering if anyone had any > thoughts if this was possible or how to accomplish this. > > > > > > -- > Samir Faci > *insert title* > fortune | cowsay -f /usr/share/cows/tux.cow > > Sent from my non-iphone laptop. > -- > Linux Users Of Northern Illinois (Chicago) - Technical Discussion > http://luni.org/mailman/listinfo/luni > -- = Linux Users Of Northern Illinois (Chicago) - Technical Discussion = http://luni.org/mailman/listinfo/luni