You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by vijay <vi...@GreatLodge.COM> on 2001/10/22 21:57:56 UTC

returns plain text

Hi,
when i execute a cgi under mod_perl it returns plain text instead of
executing it. Iam using Linux 7.0 (mod_perl comes with Linux 7.0)


this is the code in httpd.conf

PerlRequire /var/www/scripts/startup.pl
<IfModule mod_perl.c>
  Alias /scripts/ /var/www/scripts/
  <Location /scripts>
    SetHandler perl-script
    PerlHandler Apache::PerlRun
    Options +ExecCGI
    PerlSendHeader On
PerlSetVar PerlRunOnce On
  </Location>
</IfModule>


Please let me know what's the problem.
Thanks in advance
Vijay


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: returns plain text

Posted by Stas Bekman <st...@stason.org>.
that's a wrong list, please resend to modperl@apache.org, but first 
check the archives linked from perl.apache.org.

vijay wrote:

> Hi,
> when i execute a cgi under mod_perl it returns plain text instead of
> executing it. Iam using Linux 7.0 (mod_perl comes with Linux 7.0)
> 
> 
> this is the code in httpd.conf
> 
> PerlRequire /var/www/scripts/startup.pl
> <IfModule mod_perl.c>
>   Alias /scripts/ /var/www/scripts/
>   <Location /scripts>
>     SetHandler perl-script
>     PerlHandler Apache::PerlRun
>     Options +ExecCGI
>     PerlSendHeader On
> PerlSetVar PerlRunOnce On
>   </Location>
> </IfModule>
> 
> 
> Please let me know what's the problem.
> Thanks in advance
> Vijay
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
> 



-- 


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org