www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org
Subject Changed information for PR suexec/112
Date Thu, 24 Apr 1997 14:50:35 GMT
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.


Mime
View raw message