<!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.&nbsp; That's it.<BR>
<BR>
I found a problem in the Makefile.&nbsp; Once that was fixed, the root directory started being installed in the right place.&nbsp; 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>
&gt; Okay.&nbsp; I've done this.<BR>
&gt;<BR>
&gt; I did some more checking, and I realize that I'm not sure where the&nbsp;<BR>
&gt; static files and templates should be installed on a production&nbsp;<BR>
&gt; server.&nbsp; It doesn't look like they get picked up in the make process.<BR>
&gt;<BR>
&gt;<BR>
They should. If they aren't for any reason then you're doing&nbsp;<BR>
something which breaks things ;(<BR>
<BR>
&gt; I currently have them in the /opt/myserver directory.&nbsp; My&nbsp;<BR>
&gt; application perl module files are in the standard site_perl location.<BR>
&gt;<BR>
&gt; Where should the templates, etc go?<BR>
&gt;<BR>
<BR>
The template 'root' directory generally goes under the main directory&nbsp;<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&nbsp;<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>