Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

DO NOT REPLY [Bug 51969] RewriteBase documentation

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Apr 2, 2012, 6:32 AM

Post #1 of 2 (249 views)
Permalink
DO NOT REPLY [Bug 51969] RewriteBase documentation

https://issues.apache.org/bugzilla/show_bug.cgi?id=51969

Eric Covener <covener [at] gmail> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED

--- Comment #3 from Eric Covener <covener [at] gmail> 2012-04-02 13:32:58 UTC ---
I've reworked and simplified the example and demonstrated one of the results of
not using rewritebase when an outside-the-docroot-alias is followed then a
relative path is rewritten to.

http://svn.apache.org/viewvc?view=revision&revision=1308320

Backported through 2.2.x

--
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 [at] httpd
For additional commands, e-mail: docs-help [at] httpd


bugzilla at apache

Apr 10, 2012, 1:59 PM

Post #2 of 2 (221 views)
Permalink
DO NOT REPLY [Bug 51969] RewriteBase documentation [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=51969

--- Comment #4 from Filipus Klutiero <chealer [at] gmail> 2012-04-10 20:59:32 UTC ---
Thank you very much.

I suggest the following to be even clearer:

Change the description to "Sets the base URL for relative rewrites (in
per-directory context)"

Change the second paragraph to:

This directive is required when using a relative path in a substitution in
per-directory (htaccess) context, except in the following cases:

The original and new URI-s are reached via the main document tree (as
opposed to reached by other means, such as Alias). This requires the affected
directory to be in the DocumentRoot.
Very rarely, relative rewrite rules should redirect to a URL path formed by
the concatenation - first - of the filesystem path to the directory containing
relative rewrite rules and - second - of the substitution.

However, I'm not sure the second case should be kept. It seems so unlikely that
I can't come up with a plausible example.

--
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 [at] httpd
For additional commands, e-mail: docs-help [at] httpd

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.