Run a Perl script in PHP - Plesk 11 -


how can run a perl script in every page of server?

i put code @ /var/www/cgi-bin, need correct code run it. should place it.

i have added code httpd.conf:

  • action add-footer /cgi-bin/script.cgi
  • addhandler add-footer .htm .htm

and on site have added code script.

if page .html code runs page php code not run.

i have tried not work, in works on html files not in php

<directory / >   options +execcgi   addhandler cgi-script .cgi .pl   addhandler application/x-httpd-php5 .php   addhandler application/x-httpd-php .html .htm   addhandler php-cgi .php    addhandler cgi-script cgi pl   addhandler cgi-script .html   addhandler cgi-script .php    action add-footer /cgi-bin/script.cgi    addhandler add-footer .html .htm .php php </directory> 

the way trying not work dynamic content work static content.


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -