[Mono-list] Server variables
Jonathan Stowe
jns@gellyfish.com
Tue, 19 Apr 2005 11:27:34 +0000
On Mon, 2005-04-18 at 15:25, nelson wrote:
> Hi,
> I'm playing with ServerVariablesCollection.cs to make it more Apache friendly,
> and I'm having some trouble retrieving some values. I follow the
> problem to mod_mono and now i'm stuck.
> The problem is I can retrieve somo values and not others. I add some debug code
> to mod_mono to print the variables values and got this log snip:
>
> mod_mono retrive HTTPS variable but not GATEWAY_INTERFACE, or retrieve
> SSL_CIPHER_USEKEYSIZE
> but not SERVER_SOFTWARE.
> GATEWAY_INTERFACE and SERVER_SOFTWARE are standard variables and I can
> retrieve it with PHP for example with the same configuration.
>
> I have the following configuration in Apache to export all the variables:
>
GATEWAY_INTERFACE and SERVER_SOFTWARE are variables defined in the *CGI*
standard (see
http://cgi-spec.golux.com/draft-coar-cgi-v11-03-clean.html#6.1.4 and
http://cgi-spec.golux.com/draft-coar-cgi-v11-03-clean.html#6.1.18 ) but
I don't think they are necessarily mandated for other types of server
application interfaces. If they were to be supplied it would be the
responsibility of mod_mono to do so (getting the information from the
server as appropriate) as it is with mod_perl and mod_php for instance.
/J\
--
This e-mail is sponsored by http://www.integration-house.com/