Re: files having same ext, different handler based on partial name

2001-05-02 Thread ___cliff rayman___
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

Re: files having same ext, different handler based on partial name

2001-05-02 Thread Pete Jordan
Surat Singh Bhati <[EMAIL PROTECTED]> wrote: > Any trick to find out that a given CGI is working under > Apache::PerlRun or Apache::Registry. The $ENV{MOD_PERL} says > that script is working under mod_perl, but it does not says it > is working under Perlrun Registry. Use caller - at the top of y

files having same ext, different handler based on partial name

2001-05-02 Thread Surat Singh Bhati
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: SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On Options +E