httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 44572] New: Misleading information in rewriteguide.html
Date Mon, 10 Mar 2008 13:46:09 GMT

           Summary: Misleading information in rewriteguide.html
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation

Regarding this page:

The section marked "Extended Redirection" is quite misleading. It describes a
roundabout, self-described kludge, which I believe is totally unnecessary. I

> Usually the Apache kernels URL escape function also escapes anchors, i.e. URLs
> like "url#anchor". You cannot use this directly on redirects with mod_rewrite
> because the uri_escape() function of Apache would also escape the hash 
> character. How can we redirect to such a URL?
> Solution:
>     We have to use a kludge by the use of a NPH-CGI script which does the 
> redirect itself. 

I achieved the desired effect by simply adding [NE] to a rewrite rule.

This removes the need for any separate script to do the forwarding.

The solution in the documentation seems very strange.

Please correct me if I'm wrong.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message