Subject: | Dispatching not working with Lighttpd |
When using Lighttpd (1.4.28-2) PATH_INFO is not available and this
Plugin won't work.
Please consider the attached patch to fix this issue.
It works for me on Lighttpd but has not been tested with Apache.
Subject: | PathInfo.patch |
85c85,92
< return unless defined $ENV{PATH_INFO};
---
> my $path_info;
> if (defined $ENV{PATH_INFO}) {
> $path_info = $ENV{PATH_INFO};
> } elsif(defined $ENV{REQUEST_URI}) {
> $path_info = $ENV{REQUEST_URI};
> } else {
> return;
> }
89c96
< my($code, @args) = _match_type($class, $type, $ENV{PATH_INFO});
---
> my($code, @args) = _match_type($class, $type, $path_info);