[Catalyst] Re: Serving static files without Sessions involved

Aristotle Pagaltzis pagaltzis at gmx.de
Tue Mar 11 02:31:36 GMT 2008


* Matt Knesi <knesi at hotmail.com> [2008-03-10 22:10]:
> How would I set-up the .htaccess file so that Catalyst is
> avoided files from the MyApp/root/static directory?
>
> My current .htaccess file looks like this:
>
> RewriteEngine On
> RewriteCond %{REQUEST_URI} !^/?script/dispatch.fcgi
  RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ script/dispatch.fcgi/$1 [PT,L]
>
> Thanks again in advance.

-- 
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}
&Just->another->mod_rewrite->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list