Hi All

Can somebody answer this for me?  Here are two directives for separate directories(1 and 2) to run under ModPerl::Registry (ModPerl::Registry is being called in via a perl startup.pl):

<Location /mydir1>
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Location>

<Location /mydir2>
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Location>

I'm wondering, Is it better to create one directive like

<Location /perl>
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
</Location>

and put /mydir1 and /mydir2 in the /perl directory?  Is it just a matter of managing directories or is there a memory or performance issue? I'd prefer to use the separate directive approach, but I want to make sure it's not causing extra overhead.

Thanks



Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs

Reply via email to