Mailing List Archive

Re: bug in Apache::Registry
thanks Peter!

On Tue, 8 Feb 2000, Peter Deister wrote:

> Hello,
>
> when Apache::Registry::handler ist called with an URL ending in '/'
> (other than the root-URL '/' itself), compilation of the script the
> handler is called for fails. This case may occure when using
> Apache::Registry together with mod_rewrite.
>
> The compilation error is due to the URL-based script name the script is
> compiled within ending in '::'. This ending results from the handler's
> rule to derive the script name from the URL.
>
> The attached diff (relative to Apache::Registry version 2.01 from
> mod_perl 1.21) resolves the problem by always substituting tailing '/'
> with the constant '__INDEX__' (in the distribution, this is done for the
> URI '/' only).
>
> --
> [. p e t e r d e i s t e r ]
> diplom-physiker http://www.opus5.de
> opus 5 interaktive medien gmbh frankfurter strasse 151c
> 63303 dreieich fon: 06103 5853-128 fax: 06103 5853-200