httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40102] - SCRIPT_NAME set incorrectly with mod_rewrite
Date Sat, 05 Aug 2006 19:35:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40102


tony2001@php.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From tony2001@php.net  2006-08-05 19:35 -------
Here is the way it works:
1) ap_process_http_connection() is called when processing HTTP request;
2) ap_process_http_connection() calls ap_read_request() in order to create request struct;
3) ap_read_request() calls ap_getword_white(), which returns the original URI, not the file
used to 
handle the request (this is how it works here, with PHP 5.2 and Apache 2.0.55);
4) ap_read_request() sets request->uri to the result of ap_getword_white();
5) finally PHP request handler is called, which in turn calls ap_add_cgi_vars() to get the
variables.

The way it works is the very same in both cases and it doesn't depend on the place where 
mod_rewrite directives were set, so I don't see how PHP could call ap_add_cgi_vars() too early
or 
too late.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message