This is a discussion on Antwort: RE: Multiple Database setup question - Mozilla ; Hi! Jeah, that's correct... if it's already loaded, please remove your last added line(s). I think you misunderstood the environment variables: For each instance, that runs a script on the webserver, no matter if it's a shell or a apache, ...
Jeah, that's correct... if it's already loaded, please remove your last
I think you misunderstood the environment variables: For each instance,
that runs a script on the webserver, no matter if it's a shell or a
apache, there is a completely new set of env vars. For example me and you
run the _same_ script on your webserver, that sets the env var RANDOM to
our IP address. Our both IPs won't override each other, they will exist
both in the env vars. I won't see yours, you won't see mine. Even if you
type SET in your shell, you won't see mine or yours! That's because the
shell is a new instance, that has its own env vars.
The perl script I mentioned above: Please refactor it, that it works on
the webserver, too. Put it in the Bugzilla folder an run it with
http://localhost/bugzilla_db1/env.cgi (e.g.) and then check its output. If
there's a variable PROJECT, you've done it. Then you can check the same
url with bugzilla_db2 or something else.
Otherwise, check if there's a variable REDIRECT_PROJECT.
firstname.lastname@example.org schrieb am 22.02.2008 22:31:54:
> I added the directive "LoadModule env_module modules/mod_env.so" to
> /etc/apache2/sites-available/default, and restarted Apache. Apache
> complained that the module env_module was already loaded, so it skipped
> I tried again with the browser, but the problem continues. Please
> Steve Wendt wrote:
> > On 2/22/2008 12:20 PM, Fabio Estupinan wrote:
> >> I run http://localhost/bugzilla_db1, and then the script. I get
> >> variables, but there is not a PROJECT variable.
> > Make sure the mod_env module is getting loaded in your Apache config:
> > LoadModule env_module modules/mod_env.so
> View this message in context: http://www.nabble.com/Multiple-
> Sent from the Bugzilla - Users mailing list archive at Nabble.com.
> support-bugzilla mailing list
> PLEASE put email@example.com in the To: field when you