You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2011/11/13 21:44:00 UTC
DO NOT REPLY [Bug 52175] New: mod_rewrite Technical Details (request
phases) misleading about URL to filename and filename to URL translations
(RewriteBase)
https://issues.apache.org/bugzilla/show_bug.cgi?id=52175
Bug #: 52175
Summary: mod_rewrite Technical Details (request phases)
misleading about URL to filename and filename to URL
translations (RewriteBase)
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
AssignedTo: docs@httpd.apache.org
ReportedBy: chealer@gmail.com
Classification: Unclassified
http://httpd.apache.org/docs/trunk/en/rewrite/tech.html#InternalAPI contains:
Because of this, mod_rewrite temporarily translates the filename back into a
URL, by stripping off directory path before appling the rules. (See the
RewriteBase directive to see how you can further manipulate how this is
handled.)
RewriteBase does not control the stripping of directory paths, it controls (in
per-directory context) the conversion of a partial URL to an actual URL after
rules were applied.
By the way, note typo "appling".
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
DO NOT REPLY [Bug 52175] mod_rewrite Technical Details (request
phases) misleading about URL to filename and filename to URL translations
(RewriteBase)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52175
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eric Covener <co...@gmail.com> 2011-11-14 01:59:13 UTC ---
yes, that association to the per-dir strip is bogus. fixed in trunk rev
r1201571
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
DO NOT REPLY [Bug 52175] mod_rewrite Technical Details (request
phases) misleading about URL to filename and filename to URL translations
(RewriteBase)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52175
--- Comment #3 from Eric Covener <co...@gmail.com> 2011-11-14 13:15:40 UTC ---
Sorry, see r1201690
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
DO NOT REPLY [Bug 52175] mod_rewrite Technical Details (request
phases) misleading about URL to filename and filename to URL translations
(RewriteBase)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52175
--- Comment #2 from Filipus Klutiero <ch...@gmail.com> 2011-11-14 06:50:35 UTC ---
Thanks, that makes a lot more sense.
A few issues:
The prefix is *pre*pended, not appended.
Typo "substution"
There is a stray parenthesis at the end of
In per-directory context (i.e., within .htaccess files and Directory blocks),
these rules are being applied after a URL has already been translated to a
filename. Because of this, mod_rewrite temporarily translates the filename back
into a URL, by stripping off the directory path (including a trailing slash)
before applying the rules. )
Finally, the previous sentence is confusing. Simply stripping a filename does
not translate to a URL, it starts the translation. It's just a formulation
issue.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
DO NOT REPLY [Bug 52175] mod_rewrite Technical Details (request
phases) misleading about URL to filename and filename to URL translations
(RewriteBase)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52175
--- Comment #4 from Filipus Klutiero <ch...@gmail.com> 2011-11-14 18:04:20 UTC ---
Thank you Eric. Another issue: in "with the current directories path",
"directories" should read "directory's".
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org