[mod-security-users] Add SCRIPT_NAME to known CGI variables?
Brought to you by:
victorhora,
zimmerletw
|
From: Eli <eli...@ex...> - 2005-11-02 21:52:51
|
I was looking for a CGI variable which contained only the path of the script called in the URI, minus the DOCUMENT_ROOT. Apparently both REQUEST_FILENAME and SCRIPT_FILENAME are the full script path on the server, and the only CGI variable I can find that would be those, minus the DOCUMENT_ROOT, is SCRIPT_NAME, but it isn't accepted (1.9RC1 being used). Is there any reason this CGI variable is not allowed in mod_security? If so what is it? If not, would a patch submitted adding it be accepted (pending proper coding techniques and testing obviously)? Eli. |