• rewrite which fully preserves URL bar page display

    From fhpack@gmail.com@21:1/5 to All on Tue Nov 29 15:07:25 2016
    kinda complicated:

    I want url 'A' to be redirected to 'B', with 'A' appearing in the URL bar, which can easily be done with a FORWARD with MASK on my domain registrar's site.

    BUT if the user then clicks a link to a subpage, the FORWARD with MASK only shows 'A'; it does not show 'A'/subpage -- which is what I need.

    Is there a way to do that?? a .htaccess rule? or what?

    TIA (very very sincerely)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ivan Shmakov@21:1/5 to All on Wed Nov 30 12:07:52 2016
    fhpack <fhpack@gmail.com> writes:

    kinda complicated:

    I want url 'A' to be redirected to 'B', with 'A' appearing in the URL
    bar, which can easily be done with a FORWARD with MASK on my domain registrar's site.

    BUT if the user then clicks a link to a subpage, the FORWARD with
    MASK only shows 'A'; it does not show 'A'/subpage -- which is what I
    need.

    Is the problem with "URL bar" specifically? That is, is it that
    when the link to that subpage is followed, the subpage is shown
    as needed, but the "URL bar" contents does not change?

    As I gather, "masking" can be done either by the means of a
    reverse proxy, or with HTML "frames"; and unchanging "URL bar"
    suggests the latter. (I'd be quite surprised to see such a
    behavior with the former.)

    Is there a way to do that?? a .htaccess rule? or what?

    If it's Apache we're talking about, can you perhaps check its
    access.log file (if there's one) for any relevant HTTP requests?

    --
    FSF associate member #7257 58F8 0F47 53F5 2EB2 F6A5 8916 3013 B6A0 230E 334A

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)