this is supposed to be fixed (again) in 1.23. an alternative is to switch
Apache::Registry to Apache::RegistryNG which uses $r->filename rather than
$r->uri for the namespace.
On Thu, 4 Jan 2001, Tom Karlsson wrote:
> Hello All,
>
> I've recently looked through the mod_perl mail archives in order to find
> someone who has/had the same problem as me.
>
> It seems that a lot of people have had problems with <virtualhost IP> and
> <location> in situations where both virtualhost sections has a similar
> URI and scriptname.
>
> This problem causes random execution of either of the scripts no matter
> what virtualhost you're accessing. Like
>
> exampleA.com/cgi-bin/script
> exampleB.com/cgi-bin/script
>
> (content of script is different for each host)
>
> Accessing exampleB.com/cgi-bin/script might provide you with the output of
> script you'd get accessing exampleA.com/cgi-bin/script.
>
> According to documentation this was a bug in mod_perl versions < 1.15_01,
> however I still experience the very same problems with version 1.24. It
> seems others has experienced it aswell.
>
> Anyway, I haven't been able to find any actual solutions to this.
>
> Could someone please clarify whether mod_perl works in a virtualhost
> environment under the conditions describe above (with same URI and
> scriptname)?. if yes, would this person be kind enough to provide an
> example configuration?.
>
>
> Thanks.
>
> Friendly Regards
> /TK
>