Best way is to run a reverse-proxy (like nginx) on port 80, then starman can 
run on a regular port. You can find lots of examples around of this I’m sure.

On Aug 13, 2014, at 12:24 PM, James Orr <james.o...@gmail.com> wrote:

> Sorry, I dropped the list from my reply before.
> 
> Tried starman again, must have had something wrong before because I now get 
> around 4.5 seconds on that page.
> 
> I'll have to look into how to configure it though, because it's currently 
> running as root so it can use port 80, which doesn't seem like a good idea at 
> all.
> 
> 
> On Wed, Aug 13, 2014 at 2:53 PM, James Orr <james.o...@gmail.com> wrote:
> I'm open to it.  I briefly tried starman, I have one page that's taking about 
> 7 seconds to load in apache and under starman it took 30 seconds, but maybe I 
> didn't set something up quite right?
> 
> At the moment this server is only running one site, but it's possible more 
> may be added so I would need something akin to apache's virtualhosts.  That's 
> not a deal-breaker for this as it's a personal project, but if I move over 
> some of my mason 1 work projects to mason 2 it will definitely be required.
> 
> 
> On Wed, Aug 13, 2014 at 2:49 PM, Jonathan Swartz <swa...@pobox.com> wrote:
> Any particular reason you need to keep using Apache, as opposed to (say) 
> Starman?
> 
> Sorry, I don’t normally like to answer questions that way :), it’s just that 
> most people using PSGI/Plack seemed to have migrated away from Apache for the 
> backend process.
> 
> On Aug 13, 2014, at 11:09 AM, James Orr <james.o...@gmail.com> wrote:
> 
> > I'm currently using Plack::Handler::Apache2, but I'm getting some 
> > intermittent errors ...
> >
> > Can't get the name of an anonymous package at 
> > /usr/lib/perl5/Class/MOP/Package.pm line 243.
> >
> > I've seen some stuff about mod_psgi but google doesn't turn up much about 
> > it, and it's not a package available through apt-get.
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Mason-users mailing list
> > Mason-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mason-users
> 
> 
> 

------------------------------------------------------------------------------
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to