On Thu, 2003-11-06 at 16:46, Dustin Whitney wrote:
>      Is there a way that I can make apache use mod_cgi to serve scripts 
> in one directory, but mod_perl in all the others?  I have some scripts 
> that won't work under mod_perl in their current form, and I'd like to 
> temporarily use them while I rewrite them for mod_perl.

If you don't have very many, you can just list them explicitly with
Location blocks.  Leave your existing cgi-bin stuff in place, and just
add this after it:

<Location /cgi-bin/some_script.pl>
  SetHandler  perl-script
  PerlHandler Apache::Registry
</Location>

When you port the next one, just add another block.

- Perrin

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to