httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert T Wyatt <robert.wy...@gmail.com>
Subject Re: [users@httpd] htaccess redirect URL fragment problem with Safari browser
Date Wed, 05 Nov 2008 00:04:28 GMT
Well, here's the example:
http://www.utexas.edu/student/registrar/schedules/092/regrules/all.html#acc

Try this with several browsers and you'll find that it only fails to 
pass the anchor on Safari....

Anyhow, I'm afraid that I am trying to capture the anchor and pass it 
through to the redirected URL so I may be out of luck.

Thanks,
Robert

Frank Gingras wrote:
> Robert,
> 
> You CAN enter the URL directly in a browser, and the page 'should' 
> scroll down to the anchor (<a name='foo'>). A sample URL would be: 
> http://hostname/foo#bar.
> 
> Now, a rule is allowed to redirect to an anchor. It simply cannot match 
> or capture it.
> 
> To address your issue with Safari, I have several co-workers that use 
> it, and they never reported that issue.
> 
> Robert T Wyatt wrote:
>> Thanks Frank,
>>
>> What I'm hearing is that the redirection is using a RegEx and that the
>> hash character cannot be a player. Furthermore, the fact that this
>> works on most browsers (but fails on Safari) is due to them being not
>> strictly compliant.
>>
>> Is that about it?
>>
>> Thanks,
>> Robert
>>
>> Frank Gingras wrote:
>>  
>>> Hello Robert,
>>>
>>> Actually, the # in the URI indicates an anchor, not a comment. They
>>> cannot be matched on, nor captured.
>>>
>>> Frank
>>>     
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message