[Catalyst] FastCGI Deployment problem - can't find templates

Coates, Greg GCoates at csuchico.edu
Wed Sep 24 02:55:01 BST 2008


Ah.  That's it.

I found a problem in the Makefile.  Once that was fixed, the root directory=
 started being installed in the right place.  Shockingly, with the files in=
 the right place, the templates were found. :-)

Greg


-----Original Message-----
From: Tomas Doran [mailto:bobtfish at bobtfish.net]
Sent: Tue 9/23/2008 3:46 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] FastCGI Deployment problem - can't find templates
 =


On 23 Sep 2008, at 23:24, Coates, Greg wrote:

> Okay.  I've done this.
>
> I did some more checking, and I realize that I'm not sure where the  =

> static files and templates should be installed on a production  =

> server.  It doesn't look like they get picked up in the make process.
>
>
They should. If they aren't for any reason then you're doing  =

something which breaks things ;(

> I currently have them in the /opt/myserver directory.  My  =

> application perl module files are in the standard site_perl location.
>
> Where should the templates, etc go?
>

The template 'root' directory generally goes under the main directory  =

of your application, so if you're MyApp, then it'll be MyApp/root

Exactly where this is depends on your perl, but if you're installing  =

locally, I'd expect the templates to end up somewhere similar to /usr/ =

local/share/perl/5.8.8/MyApp/root/

Cheers
t0m


_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080923/7d973=
e0b/attachment.htm


More information about the Catalyst mailing list