<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [Catalyst] FastCGI Deployment problem - can't find templates</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Ah. That's it.<BR>
<BR>
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. :-)<BR>
<BR>
Greg<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Tomas Doran [<A HREF="mailto:bobtfish@bobtfish.net">mailto:bobtfish@bobtfish.net</A>]<BR>
Sent: Tue 9/23/2008 3:46 PM<BR>
To: The elegant MVC web framework<BR>
Subject: Re: [Catalyst] FastCGI Deployment problem - can't find templates<BR>
<BR>
<BR>
On 23 Sep 2008, at 23:24, Coates, Greg wrote:<BR>
<BR>
> Okay. I've done this.<BR>
><BR>
> I did some more checking, and I realize that I'm not sure where the <BR>
> static files and templates should be installed on a production <BR>
> server. It doesn't look like they get picked up in the make process.<BR>
><BR>
><BR>
They should. If they aren't for any reason then you're doing <BR>
something which breaks things ;(<BR>
<BR>
> I currently have them in the /opt/myserver directory. My <BR>
> application perl module files are in the standard site_perl location.<BR>
><BR>
> Where should the templates, etc go?<BR>
><BR>
<BR>
The template 'root' directory generally goes under the main directory <BR>
of your application, so if you're MyApp, then it'll be MyApp/root<BR>
<BR>
Exactly where this is depends on your perl, but if you're installing <BR>
locally, I'd expect the templates to end up somewhere similar to /usr/<BR>
local/share/perl/5.8.8/MyApp/root/<BR>
<BR>
Cheers<BR>
t0m<BR>
<BR>
<BR>
_______________________________________________<BR>
List: Catalyst@lists.scsys.co.uk<BR>
Listinfo: <A HREF="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</A><BR>
Searchable archive: <A HREF="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</A><BR>
Dev site: <A HREF="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</A><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>