What's wrong? There are: httpd.conf with: AddHandler cgi-script .cgi .pl in httpd.conf Options ExecCGI Perl 5.8.8 installed DOC_ROOT = /var/www any .pl file listed in /var/www/web9/cgi-bin/ not recognizing. It's trying to open or downloading by browser... http://bemz.tis.ru/cgi-bin/test.pl Sorry for my poor english.
http://bemz.tis.ru/test.shtml ==test.shtml== <html> <body> Testing<!--#include virtual="/cgi-bin/test.pl" --> <br><br>testing2<!--#include virtual="test2.shtml" --> </body> </html> ==end== ==test.pl== #!/usr/bin/perl print "Content-Type: text/html\n\n"; print "This is a test of /cgi-bin/ directory"; ==end==