[Catalyst-dev] [RFC] Template and Static directory locations

Jonathan Rockway jon at jrock.us
Mon Oct 23 19:54:57 GMT 2006


> One question is whether it makes sense to have such a directory at 
> all. Rails has this which lets you put in a .fcgi script along with 
> images, css, js, etc.

So it looks like:

root/
root/templates
root/static
root/static/index.fcgi -> ../../../script/myapp_fastcgi.pl
root/static/.htaccess

and the .htaccess tells the webserver to handle requests for / with 
index.fcgi and /static /root/static?  Sounds good to me, if that's 
possible.  I assume .htaccess is webserver dependent, though, which I 
dislike.



More information about the Catalyst-dev mailing list