Forum Moderators: phranque
http://www.domainname.com/filename_041807.pdf#page=22
http://www.redirect1.com/filename_041807.pdf
http://www.redirect1.com/filename_041807.pdf#page=22
the htaccess file is as follows:
RewriteEngine on#AZGB01
RewriteCond %{remote_addr} ^10\.0\.246\.[0-9]*
RewriteRule ^(.+)$ http://azgb01-nms.azgb01.gd-ais.com/$1 [R,L]
RewriteCond %{remote_addr} ^10\.0\.248\.[0-9]*
RewriteRule ^(.+)$ http://www.redirect1.com/$1 [R,L]
RewriteCond %{remote_addr} ^10\.2\.[0-9]*\.[0-9]*
RewriteRule ^(.+)$ http://www.redirect2.com/$1 [R,L]
RewriteCond %{remote_addr} [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
RewriteRule ^(.+)$ http://redirect3.com/$1 [R,L]
What needs to be changed, for it to work with the # in the URL?
[edited by: Darth_Pooh at 4:50 am (utc) on April 19, 2007]
www.example.com/page.html#anchor
www.example.com/page.html#otheranchor
www.example.com/page.html
is exactly the same page from the point of view of the browser. And _it is_ the same page/document/resource/whatever.
[edited by: Achernar at 5:47 pm (utc) on April 19, 2007]
without the rewrite
[domainname.com...]
will load the PDF and display it at page 22. However,
with the rewrite the PDF is displayed at the beginning, and the Anchor is totally ignored.
So is there a way that the URL can be rewritten, so that the Browser will have the #Anchor, to go to the right place in the file?
without the rewrite
[domainname.com...]
will load the PDF and display it at page 22.