Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Print to Browser Headers Not Working

by aitap (Deacon)
on Feb 27, 2013 at 17:45 UTC ( #1020934=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Print to Browser Headers Not Working
in thread Print to Browser Headers Not Working

Google gives some good results: http://httpd.apache.org/docs/2.2/howto/cgi.html http://stackoverflow.com/questions/560749/how-do-i-configure-apache2-to-run-perl-cgi-scripts

Basically, you need to enable the ExecCGI option for the directories your scripts are situated in and make sure that executable (chmod +x) files with .pl extension are considered CGI (by using AddHandler directive).

Sorry if my advice was wrong.


Comment on Re^3: Print to Browser Headers Not Working
Select or Download Code
Re^4: Print to Browser Headers Not Working
by Loops303 (Novice) on Feb 27, 2013 at 18:08 UTC

    Thanks Everyone! The links you sent helped me figure it out --- needed to add

    PerlSendHeader On

    To the .conf file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020934]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (13)
As of 2014-07-10 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (207 votes), past polls