Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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.

Replies are listed 'Best First'.
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