[Catalyst] issue with Path method not catching '.html' portion
Edric
ehankamo at yahoo.com
Mon Mar 20 18:26:56 CET 2006
gotcha. thanks Matt.
Matt S Trout <dbix-class at trout.me.uk> wrote: 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/ +
_______________________________________________
Catalyst mailing list
Catalyst at lists.rawmode.org
http://lists.rawmode.org/mailman/listinfo/catalyst
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060320/89ec8a62/attachment.htm
More information about the Catalyst
mailing list