[Catalyst] Rendering static pages in root/

Jesse Sheidlower jester at panix.com
Thu Jul 6 18:51:59 CEST 2006


On Thu, Jul 06, 2006 at 12:46:06PM -0400, Eric W. Bates wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Another n00b question:
> 
> I understood that if I put a static html file in ~/root, then
> Static::Simple would render the page.  However, I'm getting:
> 
> [Thu Jul  6 12:36:36 2006] [catalyst] [debug] "GET" request for
> "index.html" from "xxx.xxx.xxx.104"
> [Thu Jul  6 12:36:36 2006] [catalyst] [debug] Arguments are "index.html"
> [Thu Jul  6 12:36:36 2006] [catalyst] [debug] Static::Simple: Ignoring
> extension `html`
> 
> Is this the default behavior for Static::Simple, or have I managed to
> change something?

It's the default behavior for Static::Simple--read the
docs. Files with an .html extension are processed by Catalyst
(i.e. are not served statically). You can configure
Static::Simple to serve these statically if you need.

HTH,

Jesse Sheidlower



More information about the Catalyst mailing list