When I run Catalyst out of a non root webserver location, e.g. /myapp,
$c->request->uri has an extra slash after the base url.
http://mydomain.com/myapp//
http://mydomain.com/myapp//some/action
Catalyst::Engine::CGI::prepare_path() is setting $base_path to /myapp/,
which is correct, but then to create the full path used in
$c->request->uri, it appends $ENV{PATH_INFO} to this base_path, which
appears to always begin with a slash, resulting in the double slash I am
seeing.
FYI, my lighttpd fastcgi config looks like:
$HTTP["url"] =~ "^/myapp/(?!static)" {
fastcgi.server = (
"/myapp" => (
"MyApp" => (
...
),
),
),
}
and I am currently running Catalyst 5.7007. I'd prefer a solution that
doesn't involve upgrading Catalyst... if that is possible.
- Jim
_______________________________________________
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/