index.php
#!/usr/bin/php-cgi
<?php
    include 'index.html';
?>index.html  使用的是 frame<frame src="top.html" scrolling="no"/>
<frameset cols="211,*"  frameSpacing="0" frameBorder="0" scrolling="no">
<frame src="left.html" scrolling="no"  id="leftlist" name="leftlist"/>
<frame src="right2.html"  id="main" name="main"/> 
</frameset>报错是 无法启动请求的CGI程序
Unable to launch the requested CGI program:
  /usr/ikuai/www/cgi-bin/template/top.html: Exec format error
先谢谢了

解决方案 »

  1.   

    可以啊!frame只和浏览器有关吧.CGI程序去掉试试看
      

  2.   

    我把 这句话去掉了
    #!/usr/bin/php-cgi还是不行..开发环境是 linux  php  mini_httpd
      

  3.   

    不可能,你用top.html的完全路径试下,像http://www.moumoumou.com/top.html
      

  4.   

    top.html
    http://123.118.136.42/cgi-bin/template/top.htmlUnable to launch the requested CGI program:
      /usr/ikuai/www/cgi-bin/template/top.html: Exec format error
    我在程序里 单独
    $this->display('top.html');是可以显示的,不会报错