> 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


Reply via email to