You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2001/06/15 06:38:24 UTC

RE: NameWithVirtualHost

On Thu, 17 May 2001, Geoffrey Young wrote:
 
> well, you're not using Apache::Registry (which uses the
> $Apache::Registry::NameWithVirtualHost global)
> but Apache::RegistryNG (for which there's no corresponding
> $Apache::RegistryNG::NameWithVirtualHost :)

he used Apache::RegistryNG in the startup.pl, but we didn't see
httpd.conf, which i'm guessing is configured to use Apache::Registry,
because..

> I haven't used RegistryNG at all, so I don't know the benefits of it over
> Registry (someone might) but I suspect that you
> will get the namespace isolation you desire if you move to Apache::Registry
> instead.

Apache::RegistryNG actually uses $r->filename instead of $r->uri so it
should have namespace protection.