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. :-)


-----Original Message-----
From: Tomas Doran
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/


List: Catalyst@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/7d973e0b/attachment.htm

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedSep 23, '08 at 12:27a
activeSep 24, '08 at 2:55a

2 users in discussion

Coates, Greg: 3 posts Tomas Doran: 1 post



site design / logo © 2021 Grokbase