[CentOS] CGI configuration - second post
ra+centos at br-online.de
Fri Oct 17 10:49:54 UTC 2008
> 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
> 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.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the CentOS