You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by co...@decus.org on 1997/04/24 16:50:35 UTC

Changed information for PR suexec/112

Synopsis: "global" cgi scripts won't run on virtual servers where suexec is used

State-Changed-From-To: open-feedback
State-Changed-By: coar@decus.org
State-Changed-When: Thu Apr 24 07:50:35 PDT 1997
State-Changed-Why:
This is the intended behaviour.  If you want globally
ScriptAlias-ed scripts to be processed in the global
environment (i.e., not under the per-vhost User and
suexec environment), you need to include the correct
hostname in the CGI URL.  You might consider using
mod_rewrite and adding a rewrite rule in your vhost
sections that redirects http://vhost/cgi-bin/* to
http://mainhost/cgi-bin/* - I think that would result
in the effect you want.

If you don't want to do this, then you must make your
global CGI scripts runnable under the per-vhost User
and suexec environment.

Please let us know if the rewrite option solves your issue.