Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Running CGI scripts after mod_perl.
 

Index | Next | Previous | View Flat


arif at mail

Jun 25, 2009, 2:51 PM


Views: 641
Permalink
Running CGI scripts after mod_perl.

I have a mod_perl 2 module, running in Apache 2.2,

-------------------------------------------------
package Apache2::NNNN;

use 5;
use strict;

use Apache2::Const -compile => qw(DECLINED);

sub handler
{
return Apache2::Const::DECLINED;
}


1;
-------------------------------------------------

and this is enabled in a .htaccess file via

SetHandler modperl
PerlResponseHandler Apache2::NNNN

Without the .htaccess config above CGI scripts run fine. With the above
the actual script is returned.

How do I get Apache to process the .cgi scripts as CGI scripts and not
as just text files?


Anthony.

Subject User Time
Running CGI scripts after mod_perl. arif at mail Jun 25, 2009, 2:51 PM
    Re: Running CGI scripts after mod_perl. gozer at ectoplasm Jun 26, 2009, 12:52 PM
    Re: Running CGI scripts after mod_perl. pharkins at gmail Jun 26, 2009, 12:55 PM
    Re: Running CGI scripts after mod_perl. gozer at ectoplasm Jun 26, 2009, 1:01 PM
        Re: Running CGI scripts after mod_perl. arif at mail Jun 26, 2009, 3:36 PM
            Re: Running CGI scripts after mod_perl. pharkins at gmail Jun 26, 2009, 4:57 PM
    Re: Running CGI scripts after mod_perl. arif at mail Jun 28, 2009, 2:44 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.