Is it possible

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Donkey Punch
    Confirmed User
    • Jun 2007
    • 1260

    #1

    Is it possible

    To redirect via .htaccess based upon IP and file requested?

    I.E if anyone other than my IP tries to access a file they get redirected?

    If so could you please point me in the right direction?

    Thanks!
    ICQ:407-837-607
    Hosting a Problem? Phat Servers = Answer
  • Donkey Punch
    Confirmed User
    • Jun 2007
    • 1260

    #2
    YEs or no and maybe a pointer plz :]
    ICQ:407-837-607
    Hosting a Problem? Phat Servers = Answer

    Comment

    • RawAlex
      So Fucking Banned
      • Oct 2003
      • 9465

      #3
      You could potentially do one or the other... filter by page requested and then send it to a script that filters further by IP before the headers are sent.

      Comment

      • takaya
        Confirmed User
        • Mar 2003
        • 50

        #4
        RewriteEngine on
        RewriteCond ^banedIP (.*)
        RewriteRule ^test.html$ somesites

        Comment

        • Donkey Punch
          Confirmed User
          • Jun 2007
          • 1260

          #5
          Originally posted by takaya
          RewriteEngine on
          RewriteCond ^banedIP (.*)
          RewriteRule ^test.html$ somesites
          Thanks again, I'm going to check this out !
          ICQ:407-837-607
          Hosting a Problem? Phat Servers = Answer

          Comment

          Working...