Tech question for server guys (re: htaccess)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pr0
    rockin tha trailerpark
    • May 2001
    • 23088

    #1

    Tech question for server guys (re: htaccess)

    Ok i've got some pages setup like this


    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domain.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.domain.com$
    RewriteRule ^(.*)$ http://www.adultactioncam.com/?r=aac...=geolist&geo=1 [R=301,L]

    Now my question is....can a pop-up be added into this code, so when they load & get redirected, it pops up?
    __________
    Loadedca$h - get sum! - Revengebucks - mmm rebills! - webair (gotz sErVrz)
  • nofx
    Too lazy to set a custom title
    • Nov 2002
    • 16826

    #2
    another htaccess question

    why isnt this working ? does it need to go in a certain spot in .htaccess or it doesnt matter...?

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} .mil
    RewriteCond %{HTTP_REFERER} .gov
    RewriteCond %{HTTP_REFERER} .edu
    RewriteRule /* http://www.yahoo.com [R,L]

    Often times I wonder why
    There's love and hate, theres live or die.
    When sickness comes I must decide:
    When feelings go, theres suicide.

    Comment

    • broke
      Confirmed User
      • Aug 2003
      • 4501

      #3
      Originally posted by pr0
      Now my question is....can a pop-up be added into this code, so when they load & get redirected, it pops up?
      No.

      You would need to Rewrite to a landing page on your site that pops the window and then redirects to AAC.
      Perfect Gonzo

      Comment

      • pr0
        rockin tha trailerpark
        • May 2001
        • 23088

        #4
        Originally posted by broke
        No.

        You would need to Rewrite to a landing page on your site that pops the window and then redirects to AAC.
        hmmm im looking to pop a popper to another site, but i feel ya
        __________
        Loadedca$h - get sum! - Revengebucks - mmm rebills! - webair (gotz sErVrz)

        Comment

        • AgentCash
          Confirmed User
          • Feb 2002
          • 720

          #5
          Originally posted by nofx
          another htaccess question

          why isnt this working ? does it need to go in a certain spot in .htaccess or it doesnt matter...?

          RewriteEngine On
          RewriteCond %{HTTP_REFERER} .mil
          RewriteCond %{HTTP_REFERER} .gov
          RewriteCond %{HTTP_REFERER} .edu
          RewriteRule /* http://www.yahoo.com [R,L]

          Try

          RewriteEngine On
          RewriteCond %{REMOTE_HOST} .*\.mil$ [NC,OR]
          RewriteCond %{REMOTE_HOST} .*\.gov$ [NC,OR]
          RewriteCond %{REMOTE_HOST} .*\.edu$ [NC,OR]
          RewriteCond %{HTTP_REFERER} .*\.mil$ [NC,OR]
          RewriteCond %{HTTP_REFERER} .*\.mil/.* [NC,OR]
          RewriteCond %{HTTP_REFERER} .*\.gov$ [NC,OR]
          RewriteCond %{HTTP_REFERER} .*\.gov/.* [NC,OR]
          RewriteCond %{HTTP_REFERER} .*\.edu$ [NC,OR]
          RewriteCond %{HTTP_REFERER} .*\.edu/.*
          RewriteRule .* http://www.yahoo.com [R,L]

          Comment

          • nofx
            Too lazy to set a custom title
            • Nov 2002
            • 16826

            #6
            Originally posted by AgentCash
            Try

            RewriteEngine On
            RewriteCond %{REMOTE_HOST} .*\.mil$ [NC,OR]
            RewriteCond %{REMOTE_HOST} .*\.gov$ [NC,OR]
            RewriteCond %{REMOTE_HOST} .*\.edu$ [NC,OR]
            RewriteCond %{HTTP_REFERER} .*\.mil$ [NC,OR]
            RewriteCond %{HTTP_REFERER} .*\.mil/.* [NC,OR]
            RewriteCond %{HTTP_REFERER} .*\.gov$ [NC,OR]
            RewriteCond %{HTTP_REFERER} .*\.gov/.* [NC,OR]
            RewriteCond %{HTTP_REFERER} .*\.edu$ [NC,OR]
            RewriteCond %{HTTP_REFERER} .*\.edu/.*
            RewriteRule .* http://www.yahoo.com [R,L]

            thanx man!

            will try it out

            Often times I wonder why
            There's love and hate, theres live or die.
            When sickness comes I must decide:
            When feelings go, theres suicide.

            Comment

            • pr0
              rockin tha trailerpark
              • May 2001
              • 23088

              #7
              Originally posted by AgentCash
              Try

              RewriteEngine On
              RewriteCond %{REMOTE_HOST} .*\.mil$ [NC,OR]
              RewriteCond %{REMOTE_HOST} .*\.gov$ [NC,OR]
              RewriteCond %{REMOTE_HOST} .*\.edu$ [NC,OR]
              RewriteCond %{HTTP_REFERER} .*\.mil$ [NC,OR]
              RewriteCond %{HTTP_REFERER} .*\.mil/.* [NC,OR]
              RewriteCond %{HTTP_REFERER} .*\.gov$ [NC,OR]
              RewriteCond %{HTTP_REFERER} .*\.gov/.* [NC,OR]
              RewriteCond %{HTTP_REFERER} .*\.edu$ [NC,OR]
              RewriteCond %{HTTP_REFERER} .*\.edu/.*
              RewriteRule .* http://www.yahoo.com [R,L]
              you forgot .us, alot of them use .us domains
              __________
              Loadedca$h - get sum! - Revengebucks - mmm rebills! - webair (gotz sErVrz)

              Comment

              • JD
                Too lazy to set a custom title
                • Sep 2003
                • 22651

                #8
                Originally posted by pr0
                you forgot .us, alot of them use .us domains
                them? who is this "them" you speak of? is it "Tha Man"?

                Comment

                • pr0
                  rockin tha trailerpark
                  • May 2001
                  • 23088

                  #9
                  Originally posted by SPeRMiNaToR
                  them? who is this "them" you speak of? is it "Tha Man"?

                  yea....alot of the vigilante net police hide behind .us's

                  i know from my logs over the last 4 years
                  __________
                  Loadedca$h - get sum! - Revengebucks - mmm rebills! - webair (gotz sErVrz)

                  Comment

                  • nofx
                    Too lazy to set a custom title
                    • Nov 2002
                    • 16826

                    #10
                    .us added

                    thanx pr0 ;]

                    Often times I wonder why
                    There's love and hate, theres live or die.
                    When sickness comes I must decide:
                    When feelings go, theres suicide.

                    Comment

                    • pr0
                      rockin tha trailerpark
                      • May 2001
                      • 23088

                      #11
                      Originally posted by nofx
                      .us added

                      thanx pr0 ;]
                      np

                      back when i was like 15 i backdoored a u.s. from an aim chat room

                      it was named pedo.taskforce.oh.us

                      so i can only guess they use it for other purposes
                      __________
                      Loadedca$h - get sum! - Revengebucks - mmm rebills! - webair (gotz sErVrz)

                      Comment

                      • darksoul
                        Confirmed User
                        • Apr 2002
                        • 4997

                        #12
                        Originally posted by AgentCash
                        Try

                        RewriteEngine On
                        RewriteCond %{REMOTE_HOST} .*\.mil$ [NC,OR]
                        RewriteCond %{REMOTE_HOST} .*\.gov$ [NC,OR]
                        RewriteCond %{REMOTE_HOST} .*\.edu$ [NC,OR]
                        This will only work if you have apache setup to resolve ips
                        which it doesn't do by default and I suggest you don't change it.
                        1337 5y54|)m1n: 157717888
                        BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
                        Cambooth

                        Comment

                        • Superterrorizer
                          Confirmed User
                          • Sep 2003
                          • 509

                          #13
                          Originally posted by pr0
                          np

                          back when i was like 15 i backdoored a u.s. from an aim chat room

                          it was named pedo.taskforce.oh.us

                          so i can only guess they use it for other purposes
                          You are an idiot.

                          Comment

                          Working...