You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jonathan Roy <ro...@atlantic.net> on 1997/09/20 19:30:02 UTC

mod_rewrite/1153: When using Redirect, # on the original url is lost.

>Number:         1153
>Category:       mod_rewrite
>Synopsis:       When using Redirect, # on the original url is lost.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Sep 20 10:30:01 1997
>Originator:     roy@atlantic.net
>Organization:
apache
>Release:        1.2.3
>Environment:
Solaris 2.5.0, gcc
SunOS sinistar 5.5 Generic_103093-06 sun4m sparc SUNW,SPARCstation-20
>Description:
I have a redirect for a virtual web site:

Redirect                permanent /nawc http://warcouncil.mpog.com

When calling any normal /nawc/file it redirects to warcouncil.mpog.com/file
correctly. A cgi call with params also works:
/nawc/file?a=1 -> warcouncil.mpog.com/file?a=1
However, if there is a #number param, it is lost, ie:
/nawc/file#2900 -> warcouncil.mpog.com/file
>How-To-Repeat:
Set up a perm redirect, and try calling an old location file with a #number
parameter.
>Fix:
Can the Location printed by the Redirect include the original # parameter%3
>Audit-Trail:
>Unformatted: