On 10 Jun 2009, at 10:04, Francesc Romà i Frigolé wrote:
Also, in the static directory I could leave some things public ( css, javascript, icons...) but make other private ( uploads, reports, ...) by placing a .htaccess file requiring authentication in each corresponding directory.
Why not just totally exclude public things from going into Catalyst at all?
You're meant to (and all the deployment guides recommend) just excluding normal public static files from Catalyst seeing at all.
BTW, auth doesn't have to be configured in .htaccess, in fact, I'd only do that if you have to, as re-reading htaccess files can end up fairly expensive.
Cheers t0m _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
