> I was also thinking it would only make a small
> difference, but I see many perl/CGI scripts that boast
> 'all this functionality in a single script'

They probably don't know any better, but to me that translates to "giant
bloated unorganized mess of a script."

> # BEGIN MOD_PERL CONFIG
> #LoadModule perl_module modules/mod_perl.so
> #ScriptAlias /perl-bin/ "c:/IndigoPerl//perl-bin/"
> #PerlSendHeader On
> #SetHandler perl-script
> #Options ExecCGI
> #</Location>
> # END MOD_PERL CONFIG

That won't do it.  Check the docs for Apache::Registry.  That
ScriptAlias should be removed for mod_perl.

You want something more like this:

 Alias /perl-bin/ "c:/IndigoPerl//perl-bin/"
 PerlModule Apache::Registry
 <Location /perl-bin>
   SetHandler perl-script
   PerlHandler Apache::Registry
   Options ExecCGI
 </Location>

Not sure if you need PerlSendHeader or not.  It depends on your code.

- Perrin



Reply via email to