A friendly rules reminder:
5) Suggesting or encouraging any illegal activity is cause for immediate deletion and suspension of posting privileges. You can share information on what is legal, and what is not legal, but our forums are not a place to seek, or offer help, on how to break the law.
7) Don't spam, PM, or post promotional material. No soliciting of any kind.
16. At DrugBuyers.com we do not ask what are the medical needs of visitors and we do not want to know. Our sites is about buying prescription drugs. We assume a legitimate need. Any post that indicates the poster is a drug abuser or recreational drug user will result in that user being banned.



Other Related Topics >> News and Media

zorg
Veteran


Reged: 04/29/02
Posts: 559
Loc: Midwest
Re: DEA taking over domain names
      11/22/03 01:48 AM

DB, bro, I know the timing is ironic in regards to how much you love bits of code in the threads, but this you'll like I promise:

Think about a funny picture or html file that you want to pop up when drugseekers is accessed. Of course not TOO lewd since it still has to be on DB, but at least they lose the satisfation. Of course professional and informative is an option as well. I prefer humiliation when a volley is first sent my way, but you know. Once you find/create a good file, pass this code on to the gang:

1)initialize "mod_rewrite" as a DS0 in apache (probably already is)
2)create an .htaccess file in the web root directory (just edit as usual)
3)in the .htacess file you have open from 2), have them just do this:


RewriteEngine on
RewriteCond %{HTTP_HOST} ^http://www\.drugseekers\.(com|net|org)$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www\.drugseekers\.(com|net|org)$ [NC]
RewriteRule ^\.*$ http://www.drugseekers.com/arrest_us_please.jpg [R,NC]


Save the .htaccess file, upload arrest_us.jpg or whatever will spoil their fun to the root html dir, and of course match the file name to the third rule that does the re-insertion.

If, during browser testing the new URL changes from drugseekers back to drugbuyers after loading, have the tech staff also add a VirtualHost entry so the URL stays "drugseekers" instead of replacing it as drugbuyers which it might do, depending on your config. The rewrite is necessary because some apache name variables won't respond to a redirect properly the way they are doing it to you. This way, you're covered no matter how they switch it up, it'll work until they take out the redirect, which almost always happens when they get a taste of their own medicine.


Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* DEA taking over domain names antique 11/15/03 12:16 PM
. * * Re: DEA taking over domain names katiehlvr1   12/13/03 04:17 PM
. * * Re: DEA taking over domain names zorg   11/15/03 08:02 PM
. * * Re: DEA taking over domain names caramello51   11/16/03 12:44 PM
. * * Re: DEA taking over domain names sheenafur   11/16/03 05:11 PM
. * * Re: DEA taking over domain names DrugBuyersAdministrator   11/15/03 05:12 PM
. * * Re: DEA taking over domain names Ocean   11/15/03 06:02 PM
. * * Re: DEA taking over domain names DrugBuyersAdministrator   11/16/03 08:59 AM
. * * Re: DEA taking over domain names toe   11/17/03 05:49 AM
. * * Re: DEA taking over domain names DrugBuyersAdministrator   11/21/03 10:30 PM
. * * Re: DEA taking over domain names caramello51   11/17/03 10:34 PM
. * * Re: DEA taking over domain names toe   11/21/03 07:37 AM
. * * Re: DEA taking over domain names guitardude   11/21/03 10:08 AM
. * * Re: DEA taking over domain names DrugBuyersAdministrator   11/21/03 11:17 PM
. * * Re: DEA taking over domain names guitardude   11/22/03 09:35 PM
. * * Re: DEA taking over domain names 2muchpain   11/22/03 03:41 AM
. * * Re: DEA taking over domain names toe   11/23/03 01:38 AM
. * * Re: DEA taking over domain names Tred   11/22/03 04:03 AM
. * * Re: DEA taking over domain names zorg   11/22/03 01:48 AM
. * * Re: DEA taking over domain names lovepink   11/22/03 09:45 PM
. * * Re: DEA taking over domain names tesla   11/16/03 05:14 PM
. * * Re: DEA taking over domain names zorg   11/15/03 08:11 PM
. * * Re: DEA taking over domain names plotinus   11/16/03 09:16 AM
. * * Re: DEA taking over domain names Ocean   11/16/03 07:39 AM
. * * Re: DEA taking over domain names chevygal   11/16/03 12:39 AM
. * * Re: DEA taking over domain names Sky_Queen   11/16/03 07:29 AM
. * * Re: DEA taking over domain names prettyday   11/15/03 09:32 PM
. * * Re: DEA taking over domain names EMJ   11/15/03 09:19 PM
. * * Re: DEA taking over domain names caramello51   11/15/03 03:01 PM
. * * Re: DEA taking over domain names 2muchpain   11/16/03 04:02 AM
. * * Re: DEA taking over domain names lovepink   11/15/03 05:08 PM
. * * Re: DEA taking over domain names plotinus   11/15/03 05:12 PM

Extra information
1 registered and 4 anonymous users are browsing this forum.

Moderator:  Melody, Heidi 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Thread views: 2250

Rate this thread

Jump to

Help & Contact Information | Privacy statement | Rules Free Members Area

*
UBB.threads™ 6.5
With Modifications from ThreadsDev.com by Joshua Pettit