[Catalyst] path_to() and symbolic links

marcus marcus.baker at gmail.com
Mon May 8 23:41:44 CEST 2006


I'm having issues with path_to() correctly resolving in issues where I
access my fastcgi script out of a symlink to the actuall catalyst
script directory.

Suppose my Catalyst application is in /usr/local/MyApp, and my apache
document root is in /srv/www.  If I symlink /srv/www/myapp to
/usr/local/MyApp/script and try accessing http://localhost/myapp,
path_to() seems to resolve everything relative to /srv/www as opposed
to /usr/local/MyApp.

Is there a way around this?



More information about the Catalyst mailing list