REQUEST_URL is not a part of CGI specifications... Do you have any reference to how actually it should be defined? I general if it is not a part of RFC or some other specs I'd rather prefer not to use such a variable because it may be dependent on web server, web server version or may not be defined at all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2012-10-01
Thank you for your consideration.
The variable REQUEST_URI is defined when running behind the lighttpd server:
REQUEST_URL
is not a part of CGI specifications... Do you have any reference to how actually it should be defined? I general if it is not a part of RFC or some other specs I'd rather prefer not to use such a variable because it may be dependent on web server, web server version or may not be defined at all.Thank you for your consideration.
The variable REQUEST_URI is defined when running behind the lighttpd server:
http://redmine.lighttpd.net/projects/lighttpd/repository/entry/branches/lighttpd-1.4.x/src/mod_fastcgi.c
And I've seen the variable mentioned in the following article:
http://en.wikipedia.org/wiki/Common_Gateway_Interface
This leaded me to think that is a standard variable, but it seems that it is an extension introduced by the Apache server.
I understand that the content of this variable is the Request-URI part from the original Http Request-Line.