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:
    RewriteRule ^$ /index.htm [T=application/x-httpd-cgi,L]
    The index.htm ssi:
    <!--#include virtual="/homepage.cgi"-->
    ssi's are enabled and appear to work:

    If I call directly - it works
    If I call directly - it works.
    If I just call 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?

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

    mistwang LiteSpeed Staff

Share This Page