The stupid question is the question not asked | |
PerlMonks |
Re^2: Plack and multiple domainsby Anonymous Monk |
on Feb 17, 2012 at 20:14 UTC ( [id://954614]=note: print w/replies, xml ) | Need Help?? |
If you don't want to change any application code, you could have separate instances of Starman listening at different ports, and then have a user-facing Apache instance that runs a reverse proxy for each subdomain. Or you could have a user-facing ngix/lighthttpd/perlbal instance that runs a reverse proxy for each subdomain :) Plack::Middleware::ReverseProxy example reverse proxy config for apache/apache2/ngix/lighthttpd http://www.omakase.org/perl/starmanreverseproxyab.html Perlbal / http://wiki.catalystframework.org/wiki/deployment/perlbal-starman-psgi
In Section
Seekers of Perl Wisdom
|
|