tech wrote:
If I run either of these scripts from a browser using www.domain.com it fails. If I run it from a browser using www.domain.com/cgi-bin/install.cgi or www.domain.com/cgi-bin/techtest.cgi it works.
Yes. Look at ScriptAlias in the config. And at the SELinux contexts in that directory.
I have tried using a one line index.shtml file with that one line being either <!--#include virtual="/cgi-bin/install.cgi"--> or <!--#exec cgi="/cgi-bin/install.cgi"--> and they both fail.
Yikes!
Calling www.domain.com/cgi-bin/install.cgi is the correct way, using SSI together with cgi scripts calls for trouble.
And next time you ask something please include *error* messages.
Ralph