On Fri, Jun 29, 2007 at 11:49:33AM +0100, Richard Jones wrote:
> Kiki wrote:
> >Richard Jones wrote:
> >  
> >>Having developed my application sufficiently to see it working well so
> >>far, I though I should configure it to run under mod_perl. I have used
> >>the TTSite helper to generate the templates. The app runs fine using
> >>myapp_server.pl, but under mod_perl I get the following:
> >>
> >>Couldn't render template "file error - login.tt2: not found"
> >>
> >>    
> >Could be a permission issue, has the user the webserver runs under
> >access to that path / those files?
> >
> >
> >_______________________________________________
> >  
> The user/group permissions on root/src and root/lib and the files 
> therein are the same as for lib/MyApp.pm, so presumably that isn't the 
> issue? There is nothing obvious in the error_log, though Apache doesn't 
> seem to log file permission errors even under debug mode. 

Apache may load code while still root.

su to the user it runs at and try to cd into the MyApp dir and cat a template
file.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to