[Catalyst] issue with Path method not catching '.html' portion
Matt S Trout
dbix-class at trout.me.uk
Mon Mar 20 13:43:23 CET 2006
Edric wrote:
> i speicfy 'test.html' in the parameter for Path. i expect it to match
> the url ending with 'test.html'... i read the documentation over and
> over and it's supposed to match a literal... hopefully a string that
> will take a period?
>
> why does it not work correctly when i specify my document root in my
> apache virtual host config file, but it works fine when specifiying
> document root in my main app class, like what is shown here below? i'm
> not surre if it's my function that is the problem.
>
> __PACKAGE__->config(
> root => '/usr/local/www/media'
> );
>
> and now i think this proves that
I'm not sure the apache engines actually pay attention to DocumentRoot since
this isn't portable between environments. Best to always specify so you keep
your deployment options open.
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list