a request for root of site calls an SSI via rewrite:
The index.htm ssi:
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
Code:
RewriteRule ^$ /index.htm [T=application/x-httpd-cgi,L]
Code:
<!--#include virtual="/homepage.cgi"-->
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: