Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.20 Product Version 3.0.19
  Product Build
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.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001137)
ferg
05-15-06 19:24

php/0826

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

<servlet servlet-name="php"
              servlet-class="com.caucho.quercus.servlet.QuercusServlet">
  <init>
     <servlet-env foo="bar"/>
  </init>
</servlet>

<?php

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