Linux Rewite rule question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newexpos
    Registered User
    • Nov 2002
    • 12

    #1

    Linux Rewite rule question

    Anyone know how to redirect something with a referrer of <NONE> or domain:80 to another page under RH 9 ?

    Ive tried the obvious one using

    RewriteCond %{HTTP_REFERER} =\<NONE\> [OR]

    but it didnt work.
  • Sams_gfy
    Confirmed User
    • Aug 2004
    • 491

    #2
    Empty referer (showed as <none> in stats):
    RewriteCond %{HTTP_REFERER} ^$
    Work with PPC SE ( Umax, 3FN Marketing) and GET PAID FOR EVERY CLICK !!!
    Next step after PPC - Pay Per Lead/Action
    Good, filtered traffic: Chocker, Traffic Holder || My favourite hosting: HQ Host

    Comment

    • newexpos
      Registered User
      • Nov 2002
      • 12

      #3
      Originally posted by Sams_gfy
      Empty referer (showed as <none> in stats):
      RewriteCond %{HTTP_REFERER} ^$
      Hmm.. but wouldnt that also get rid of the people that just type in the URL?

      Those referrers show up as blank, the ones i want to block show up as <NONE>
      in the error_log

      Comment

      • Sams_gfy
        Confirmed User
        • Aug 2004
        • 491

        #4
        Originally posted by newexpos
        Hmm.. but wouldnt that also get rid of the people that just type in the URL?
        Yes..

        Originally posted by newexpos
        Those referrers show up as blank, the ones i want to block show up as <NONE>
        in the error_log
        See for it REAL rerferer in apache access log.

        If REAL referer="<NONE>", then:
        RewriteCond %{HTTP_REFERER} \<NONE\>
        WITHOUT =
        Work with PPC SE ( Umax, 3FN Marketing) and GET PAID FOR EVERY CLICK !!!
        Next step after PPC - Pay Per Lead/Action
        Good, filtered traffic: Chocker, Traffic Holder || My favourite hosting: HQ Host

        Comment

        Working...