Robust way to access attributes

Peter Schober peter.schober at univie.ac.at
Fri Sep 28 09:38:21 EDT 2012


* Kristof Bajnok <bajnokk at niif.hu> [2012-09-28 15:06]:
> I'm dubious whether the right solution would be to also check the AJP_
> and the REDIRECT_ prefixed version of the several names above.

Oh, and there are quite a few results if you search on that:
http://stackoverflow.com/questions/3050444/when-setting-environment-variables-in-apache-rewriterule-directives-what-causes
http://stackoverflow.com/questions/9154695/accessing-environment-variables-set-using-mod-rewrite-in-php
http://shibboleth.1660669.n2.nabble.com/Shibboleth-vs-mod-rewrite-td6903584.html

I doubt you could write application code/suggest configuration that
would work in any (mis-)configured webserver or application
environment.
-peter


More information about the users mailing list