name-based virtual host -suexec: command not in docroot
Hello All, I'm using name-based virtual hosts on Apache 1.3.19 I need to run a cgi from one of the virtual hosts, but I get the following errors: suexec.log - command not in docroot (/path/to/cgi) error.log - Premature end of script headers: /path/to/cgi Anyone know why and what I should do? Thanks! Please Help. Oliver Etzel, Munich
RE: name-based virtual host -suexec: command not in docroot
I need to run a cgi from one of the virtual hosts, but I get the following errors: suexec.log - command not in docroot (/path/to/cgi) error.log - Premature end of script headers: /path/to/cgi Suexec is compiled with a built in path which all requests must fall underneath as part of the security model. This isn't related to name based hosting, but rather to the document root path you are using. Read more about the suexec security model here: http://httpd.apache.org/docs/suexec.html#model David