Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts

    redirect if call not from main page

    on a page:
    1.have header
    2.have iframe name = 'iframe'

    header has stuff like: <a href = '../jsp/some.jsp' target = 'iframe' ...

    A:Now, it is also posible to open ../jsp/some.jsp direct via mydomain/jsp/some.jsp' , but there is then no header, which is what I dont want.

    Is there a way to detect A event and abort jsp processing at start and then redirect to main page ?

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,500
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    I think the solution to this is somewhere within .htaccess

    But, I'm not an .htaccess expert.
    Maybe someone else might see this thread and offer some insight.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •