php Cannot modify header information – headers already sent by FIX

Buffers output and eliminates problem with spaces/line breaks at the beginning/end of files. Make sure to place ob_start(); before header(); is called. <?php ob_start(); header(“Location: somepage.php”); //Redirect ob_end_flush(); exit; ?> [ad code=1 align=center]

How do I enable cgi-scripts to run from httpdocs and httpsdocs directories?

Resolution By default Plesk runs CGI scripts in /cgi-bin/ folder only. To allow CGI scripts be processed from any folder, you should and uncomment the cgi-script AddHandler directive in the main apache configuration file /etc/httpd/conf/httpd.conf: