htaccess and Javascript menus

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lamrobertson
    Confirmed User
    • Oct 2002
    • 475

    #1

    htaccess and Javascript menus

    Hope someone can help me out.

    I have an avs with Javascript menus and I am having problems with the htaccess. Someone told me to add RewriteCond %{HTTP_REFERER} !^$ [NC]
    but that seems to upprotect the whole members area.

    I have been searching online and the only thing I have found is a suggestion to change to cgi menus.

    Is it possible to use the javascript menus and have the htaccess work properly?

    Thanks in advance
    Lorna
  • sneaker
    So Fucking Banned
    • Dec 2002
    • 251

    #2
    Javascript and htaccess are two seperate things, javascript is client based (browser) script and htaccess is called before anything is outputted to browser by apache or server side configuration file.

    Comment

    • lamrobertson
      Confirmed User
      • Oct 2002
      • 475

      #3
      lol I know they are two different things.

      The problem is the javascript menus seems to be causing a problem with the referral checking. And when I add the null referrer than anyone can access the members area.

      Comment

      • mephisto
        Registered User
        • Oct 2002
        • 60

        #4
        to the best of my knowledge javascript based stuff does not pass referer. referer is only passed through clicks or when you explicitly set it into the user's browser.
        i would personally not suggest referer based user authentication but then that is just me.
        Seek freedom and become captive of your desires. Seek discipline and find your liberty.

        AB-Arun

        Comment

        Working...