Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001105 [Quercus] minor always 05-12-06 21:39 05-15-06 19:24
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.19
Summary 0001105: Need a way to set $_SERVER[] elements from per-host configuration
Description Our code depends on a bunch of config values which we set using SetEnv in Apache. In Apache/PHP we can access those values using the $_SERVER array, to which there are references all over the place in our code. I don't see a way to populate $_SERVER in Quercus. If we could do that from resin-web.xml or quercus.ini that'd be super.
Additional Information
Attached Files

- Relationships

- Notes
05-15-06 19:24


The configuration is in the <init> section as <server-env>, e.g.

<servlet servlet-name="php"
     <servlet-env foo="bar"/>


echo '$_SERVER["foo"] '; var_dump($_SERVER["foo"]);


- Issue History
Date Modified Username Field Change
05-12-06 21:39 koreth New Issue
05-15-06 19:24 ferg Note Added: 0001137
05-15-06 19:24 ferg Assigned To  => ferg
05-15-06 19:24 ferg Status new => closed
05-15-06 19:24 ferg Resolution open => fixed
05-15-06 19:24 ferg Fixed in Version  => 3.0.20

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker