Thread Apache: Umgebungsvariablen an Perl- und PHP-CGI weiterreichen (9 answers)
Opened by GwenDragon at 2011-08-25 15:08

pq
 2011-08-25 15:34
#151798 #151798
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
hier http://httpd.apache.org/docs/2.0/env.html habe ich 2 hinweise gefunden:

Quote
* When suexec is used to launch CGI scripts, the environment will be cleaned down to a set of safe variables before CGI scripts are launched. The list of safe variables is defined at compile-time in suexec.c.
* For portability reasons, the names of environment variables may contain only letters, numbers, and the underscore character. In addition, the first character may not be a number. Characters which do not match this restriction will be replaced by an underscore when passed to CGI scripts and SSI pages.


edit: 2. hinweis ist überflüssig, ich hatte da einen bindestrich gesehen, wo keiner ist.
Last edited: 2011-08-25 15:35:40 +0200 (CEST)
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Apache: Umgebungsvariablen an Perl- und PHP-CGI weiterreichen