lscgid: execve():/.... Exec format error

Discussion in 'CGI/Perl/Python' started by btabke, Dec 11, 2017.

  1. btabke

    btabke New Member

    a request for root of site calls an SSI via rewrite:
    Code:
    RewriteRule ^$ /index.htm [T=application/x-httpd-cgi,L]
    The index.htm ssi:
    Code:
    <!--#include virtual="/homepage.cgi"-->
    ssi's are enabled and appear to work:

    If I call foo.com/index.htm directly - it works
    If I call foo.com/homepage.cgi directly - it works.
    If I just call foo.com/ it fails with and Exec Format Error

    Where is the error of my ways here? Has to be a config issue. Ring a bell with anyone?

    thanks
     
    Last edited by a moderator: Dec 12, 2017
  2. mistwang

    mistwang LiteSpeed Staff

Share This Page