These are 'system variables' returned from t3lib_div::getIndpEnv() and should be universal for any server configuration:
| HTTP_HOST | 192.168.230.3
|
| TYPO3_HOST_ONLY | 192.168.230.3
|
| TYPO3_PORT |
|
| PATH_INFO |
|
| QUERY_STRING | arg1,arg2,arg3&p1=parameter1&p2[key]=0f03
|
| REQUEST_URI | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php?arg1,arg2,arg3&p1=parameter1&p2[key]=0f03
|
| HTTP_REFERER | http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/
|
| TYPO3_REQUEST_HOST | http://192.168.230.3
|
| TYPO3_REQUEST_URL | http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php?arg1,arg2,arg3&p1=parameter1&p2[key]=0f03
|
| TYPO3_REQUEST_SCRIPT | http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php
|
| TYPO3_REQUEST_DIR | http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/
|
| TYPO3_SITE_URL | http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/
|
| SCRIPT_NAME | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php
|
| TYPO3_DOCUMENT_ROOT | /www/htdocs
|
| SCRIPT_FILENAME | /www/htdocs/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php
|
| REMOTE_ADDR | 192.168.230.1
|
| REMOTE_HOST |
|
| HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
|
| HTTP_ACCEPT_LANGUAGE | da
|
These are the raw 'system variables' returned from getenv(), HTTP_SERVER_VARS, HTTP_ENV_VARS etc. These are displayed here so we can find the right values via this testscript to map to with t3lib_div::getIndpEnv()
| Key |
getenv() |
HTTP_SERVER_VARS |
_SERVER |
HTTP_ENV_VARS |
_ENV |
| REQUEST_URI |
/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php?arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php?arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php?arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
|
|
| REMOTE_ADDR |
192.168.230.1 |
192.168.230.1 |
192.168.230.1 |
|
|
| REMOTE_HOST |
|
|
|
|
|
| PATH_INFO |
|
|
|
|
|
| SCRIPT_NAME |
/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
|
|
| SCRIPT_FILENAME |
/www/htdocs/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
/www/htdocs/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
/www/htdocs/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
|
|
| HTTP_HOST |
192.168.230.3 |
192.168.230.3 |
192.168.230.3 |
|
|
| HTTP_USER_AGENT |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
|
|
| HTTP_ACCEPT_ENCODING |
gzip, deflate |
gzip, deflate |
gzip, deflate |
|
|
| HTTP_REFERER |
http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/ |
http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/ |
http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/ |
|
|
| QUERY_STRING |
arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
|
|
What to do now?
1) Click this link above once more: Go to this page again.
2) Then save this HTML-page and send it to kasper@typo3.com with information about 1) which webserver (Apache/ISS), 2) Unix/Windows, 3) CGI or module (ISAPI)
3) If you are really advanced you try and click the link below here. With CGI-versions of servers it will most likely give an error page. If it does not, please send the output to me as well (save HTML-page and send to kasper@typo3.com). If you do this PATH_INFO test, please let me know.
4) For the really, really advanced folks, it might be interesting to see the output if you could place this link in the root of a domain. That means the index.php script will be executed from eg. "http://www.blablabla.com/" and not "http://www.blablabla.com/kaspers_test/" - it can make a difference.
I am operating with these categories of servers. Please identify your configuration and label your email with that "type":
| TYPE: |
Description: |
| WA13CGI |
Windows / Apache 1.3.x / CGI |
| WA2CGI |
Windows / Apache 2.x / CGI |
| WA13ISAPI |
Windows / Apache 1.3.x / ISAPI-module |
| WA2ISAPI |
Windows / Apache 2.x / ISAPI-module |
| WISS_CGI |
Windows / ISS / CGI |
| WISS_ISAPI |
Windows / ISS / ISAPI-module |
| MA13MOD |
Mac (Darwin) / Apache 1.3.x / Module |
| LA13CGI |
Linux / Apache 1.3.x / CGI |
| LA2CGI |
Linux / Apache 2.x / CGI |
| LA13MOD |
Linux / Apache 1.3.x / Module |
| LA2MOD |
Linux / Apache 2.x / Module |
| APACHE_INCLUDE | |
| APACHE_TARGET | |
| Apache Version | Apache/1.3.27 |
| Apache Release | 10327100 |
| Apache API Version | 19990320 |
| Hostname:Port | 192.168.58.3:80 |
| User/Group | httpd(502)/502 |
| Max Requests | Per Child: 0 - Keep Alive: on - Max Per Connection: 100 |
| Timeouts | Connection: 300 - Keep-Alive: 15 |
| Server Root | /www |
| Loaded Modules | mod_gzip, mod_php4, mod_setenvif, mod_so, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core |
| Variable | Value |
| DOCUMENT_ROOT | /www/htdocs |
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip, deflate |
| HTTP_ACCEPT_LANGUAGE | da |
| HTTP_CONNECTION | Keep-Alive |
| HTTP_COOKIE | test_script_cookie=Cookie+Value%21 |
| HTTP_HOST | 192.168.230.3 |
| HTTP_REFERER | http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/ |
| HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
| PATH | /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin |
| REDIRECT_QUERY_STRING | arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
| REDIRECT_STATUS | 200 |
| REDIRECT_URL | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
| REMOTE_ADDR | 192.168.230.1 |
| REMOTE_PORT | 3054 |
| SCRIPT_FILENAME | /www/htdocs/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
| SERVER_ADDR | 192.168.230.3 |
| SERVER_ADMIN | root@T3dev |
| SERVER_NAME | 192.168.58.3 |
| SERVER_PORT | 80 |
| SERVER_SIGNATURE | <ADDRESS>Apache/1.3.27 Server at 192.168.58.3 Port 80</ADDRESS>
|
| SERVER_SOFTWARE | Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a PHP/4.2.3 |
| GATEWAY_INTERFACE | CGI/1.1 |
| SERVER_PROTOCOL | HTTP/1.1 |
| REQUEST_METHOD | GET |
| QUERY_STRING | arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
| REQUEST_URI | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php?arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
| SCRIPT_NAME | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
| Variable | Value |
| _GET["arg1,arg2,arg3"] | |
| _GET["p1"] | parameter1 |
| _GET["p2"] | Array
(
[key] => 0f03
)
|
| _COOKIE["test_script_cookie"] | Cookie Value! |
| _SERVER["DOCUMENT_ROOT"] | /www/htdocs |
| _SERVER["HTTP_ACCEPT"] | */* |
| _SERVER["HTTP_ACCEPT_ENCODING"] | gzip, deflate |
| _SERVER["HTTP_ACCEPT_LANGUAGE"] | da |
| _SERVER["HTTP_CONNECTION"] | Keep-Alive |
| _SERVER["HTTP_COOKIE"] | test_script_cookie=Cookie+Value%21 |
| _SERVER["HTTP_HOST"] | 192.168.230.3 |
| _SERVER["HTTP_REFERER"] | http://192.168.230.3/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/ |
| _SERVER["HTTP_USER_AGENT"] | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
| _SERVER["PATH"] | /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin |
| _SERVER["REDIRECT_QUERY_STRING"] | arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
| _SERVER["REDIRECT_STATUS"] | 200 |
| _SERVER["REDIRECT_URL"] | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
| _SERVER["REMOTE_ADDR"] | 192.168.230.1 |
| _SERVER["REMOTE_PORT"] | 3054 |
| _SERVER["SCRIPT_FILENAME"] | /www/htdocs/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
| _SERVER["SERVER_ADDR"] | 192.168.230.3 |
| _SERVER["SERVER_ADMIN"] | root@T3dev |
| _SERVER["SERVER_NAME"] | 192.168.58.3 |
| _SERVER["SERVER_PORT"] | 80 |
| _SERVER["SERVER_SIGNATURE"] | <ADDRESS>Apache/1.3.27 Server at 192.168.58.3 Port 80</ADDRESS> |
| _SERVER["SERVER_SOFTWARE"] | Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a PHP/4.2.3 |
| _SERVER["GATEWAY_INTERFACE"] | CGI/1.1 |
| _SERVER["SERVER_PROTOCOL"] | HTTP/1.1 |
| _SERVER["REQUEST_METHOD"] | GET |
| _SERVER["QUERY_STRING"] | arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
| _SERVER["REQUEST_URI"] | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php?arg1,arg2,arg3&p1=parameter1&p2[key]=0f03 |
| _SERVER["SCRIPT_NAME"] | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
| _SERVER["PATH_TRANSLATED"] | /www/htdocs/typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |
| _SERVER["PHP_SELF"] | /typo3/32/typo3_src-3.6.0RC1/misc/phpcheck/index.php |