have u tried reversing the order of these two configuration sections?
that should work, but i think there is a potential for programmer
confusion. is there any difference in the directories where these
scripts are located? if so, you can wrap some directory sections
around the file sections to further clarify. OR, change the extension
from cgi to something else. if u do this, make sure to use the configuration
directive AddType as follows:
AddType text/html .newext #<-- change this to your new apache registry extension.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Surat Singh Bhati wrote:
> I want to configure mod_perl in such a way
>
> a. files like *.cgi (but not *mod.cgi) should be run using the PerlRun,
> and
> b. files like *mod.cgi should run using the Apache Registry.
>
> The settings:
>
> <FilesMatch "*\.cgi$">
> SetHandler perl-script
> PerlHandler Apache::PerlRun
> PerlSendHeader On
> Options +ExecCGI
> </FilesMatch>
>
> <FilesMatch "*mod\.cgi$">
> SetHandler perl-script
> PerlHandler Apache::Registry
> PerlSendHeader On
> Options +ExecCGI
> </FilesMatch>
>
> But the first <FilesMatch "*\.cgi$"> is true for both (*.cgi and *mod.cgi),
> How apache will treat it?
>
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/