[Catalyst] more description for FAST CGI deployment in catalyst
chisel at herlpacker.co.uk
Thu Jul 16 00:56:32 GMT 2009
On Thu, Jul 16, 2009 at 10:39:08AM +1000, kakimoto at tpg.com.au wrote:
> > What OS/Distro are you using? Maybe someone else already has an
> > example/setup that you can peek at.
> Good morning, Chisel.
> Yep, I am using Ubuntu Hardy Heron :) That would be most helpful.
> Thanks :)
In general you want to be placing your files into
/etc/apache2/sites-available and then:
For one of my fastcgi sites I have a file that looks like:
# usual server stuff for a virtualhost
FastCgiServer /path/to/myapp/script/myapp_fastcgi.pl -processes 3 -initial-env CATALYST_DEBUG=1
Alias /static /path/to/myapp/root/static
# run at the root
Alias / /path/to/myapp/script/cleavages_fastcgi.pl/
You'll need either:
sudo /etc/init.d/apache2 reload
sudo /etc/init.d/apache2 restart
I also have some fastcgi docs for parley; I believe they still work:
[ http://bit.ly/Parley_fastcgi ]
Hopefully that's enough to get you on your way.
e: chisel at herlpacker.co.uk
Always move fast - you never know who's catching up!
More information about the Catalyst