The part of the URL after the # is not sent to the server, so it is not
possible to match on it. Anyway, if you just remove it from your pattern,
you should get the same result since you do not appear to be trying to
match on anything after it.

- Y

Sent from a gizmo with a very small keyboard and hyperactive autocorrect.
On Jan 19, 2014 1:56 AM, "Ayub Khan" <ayub...@gmail.com> wrote:

>
> My url has # in the url. Could some one suggest how to use this to
> redirect. I do not have control over how the url is being generated as its
> a software product. The below rule does not seem to work.
>
> RewriteRule    ^(/share/page/repository#)$
>  /share/page/context/mine/myfiles  [B,R]
>
>
> I tried to escape the hash with [^c], but it does not seem to work..Any
> clues on how to handle *" # "*
>
> Thanks
> Ayub
>

Reply via email to