Practical mod_perl / HTML Book /



previous page: 22.3.3. exit signal Segmentation fault (11)
  
page up: HTML Version of the book
  
next page: 22.3.5. rwrite returned -1

22.3.4. CGI Code Is Returned as Plain Text Instead of Being Executed


If the CGI program is not actually executed but is just returned as plain text, it means the server doesn't recognize it as a CGI script. Check your configuration files and make sure that the ExecCGI option is turned on. For example, your configuration section for Apache::Registryscripts should look like this:

<Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
</Location>

 

Continue to:

  • prev: 22.3.3. exit signal Segmentation fault (11)
  • Table of Contents
  • next: 22.3.5. rwrite returned -1







TOP
previous page: 22.3.3. exit signal Segmentation fault (11)
  
page up: HTML Version of the book
  
next page: 22.3.5. rwrite returned -1


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com