Excellent. That, plus some offline pointers from Matt, should keep me busy. Turns out my issues were really Apache rewrite ones. I've just had a look at Starman documentation, and it seems great. I think the approach you've outlined should solve some of the other issues I was having.<div>

<br clear="all">Kind Regards,<br>Myf White<br><br><b style="color:rgb(102, 102, 102)">Phone: </b><span style="color:rgb(102, 102, 102)">0413 757 052</span><b style="color:rgb(102, 102, 102)"><br>Email:</b><span style="color:rgb(102, 102, 102)"> </span><a href="mailto:myfwhite@gmail.com" target="_blank">myfwhite@gmail.com</a><br>


<br><br><div class="gmail_quote">On Sun, Oct 16, 2011 at 11:08 PM, Toby Wintermute <span dir="ltr"><<a href="mailto:tjc@wintrmute.net">tjc@wintrmute.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi Myf,<br>
Happy to chat more about this, but just some initial pointers..<br>
<br>
1) Install Starman from CPAN, and try and use that to get your app<br>
running inside it, on an arbitrary port, inside your own home<br>
directory.<br>
<br>
2) Now create a new dedicated user on the system, and copy your<br>
application into its home directory, and get all the files owned by<br>
it. Then, as that user, check that you can again get it running via<br>
starman.<br>
Make a little shell script that includes all the right parameters to<br>
start it up.<br>
<br>
3) Look into how to use init scripts or runit scripts to run that<br>
shell script as that particular user, automatically on start-up.<br>
<br>
4) set up apache, varnish, nginx or lighttpd to simply proxy requests<br>
from port 80 over to the arbitrary port starman is running on.<br>
ideally, do some caching too. I suggest Varnish, out of the above<br>
options, but all of them can be used successfully.<br>
<div><div></div><div class="h5"><br>
<br>
On 16 October 2011 20:15, Myf White <<a href="mailto:myfwhite@gmail.com">myfwhite@gmail.com</a>> wrote:<br>
> Hi guys & girls,<br>
> I am having some major problems getting my head around some stuff to do with<br>
> deploying a Mojolicious app. It's not all Mojolicious related (some of it is<br>
> basic networking / apache / permissions etc) and I'm really struggling to<br>
> work it out, partly because my confusion is so great that I can't even<br>
> express my questions properly.<br>
> I was hoping that one of you had enough knowledge of Apache & Plack to maybe<br>
> chat to me for about 20 mins to talk through it and give me some guidance.<br>
> If so, that would be awesome and I would totally owe you a pint of your<br>
> choice of beverage at the next pm meeting!<br>
> Cheers,<br>
> Myf White<br>
><br>
> Phone: 0413 757 052<br>
> Email: <a href="mailto:myfwhite@gmail.com">myfwhite@gmail.com</a><br>
><br>
</div></div>> _______________________________________________<br>
> Melbourne-pm mailing list<br>
> <a href="mailto:Melbourne-pm@pm.org">Melbourne-pm@pm.org</a><br>
> <a href="http://mail.pm.org/mailman/listinfo/melbourne-pm" target="_blank">http://mail.pm.org/mailman/listinfo/melbourne-pm</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Turning and turning in the widening gyre<br>
The falcon cannot hear the falconer<br>
Things fall apart; the center cannot hold<br>
Mere anarchy is loosed upon the world<br>
</font></blockquote></div><br></div>