Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-01-2006, 04:36 PM   #1
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
blocking fusker in htaccess

i haven't updated my blocking in a while so i forget the format.

if i want to block all connect attempts from any URL on:

fusker.com
fucker.com

what is the format?

thanks!
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 04:49 PM   #2
ne0
Confirmed User
 
Join Date: May 2006
Location: brazil
Posts: 781
you want to block all access? or hotlinking?
__________________
hai2u
ne0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 04:59 PM   #3
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
Quote:
Originally Posted by SplitNeo
you want to block all access? or hotlinking?

block all access. any attempt to connect should go to my ad page.

thanks!
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 05:11 PM   #4
ne0
Confirmed User
 
Join Date: May 2006
Location: brazil
Posts: 781
Quote:
Originally Posted by latinasojourn
block all access. any attempt to connect should go to my ad page.

thanks!
ok, then put this line at your .htaccess:

Redirect / NEWURL

for example:

Redirect / http : / / some site . com

(no spaces, my url posting is blocked ;))

hope it helped
__________________
hai2u
ne0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 05:13 PM   #5
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
Quote:
Originally Posted by SplitNeo
ok, then put this line at your .htaccess:

Redirect / NEWURL

for example:

Redirect / http : / / some site . com

(no spaces, my url posting is blocked ;))

hope it helped

you're a king splitneo, thanks!
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 05:19 PM   #6
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
clarification please, do i do it like this, adding additional lines for each domain i want to block, example: ? notice i did add spaces per your example.

Redirect / www.fusker.com / / www.myadvertisingpageexample.com
Redirect / www.fucker.1234.com / / www.myadvertisingpageexample.com
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 05:22 PM   #7
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
and by blocking "www.fusker.com" will that also block all subdomains and extensions on "www.fusker.com" ex. "www.fusker.44.com" , "www.fusker.com/23.php", "www.fusker.com/44d.cgi", etc.

?

thanks again!
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 05:34 PM   #8
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,416
Better than blocking sites put on the .htaccess the sites that are allowed to hotlink . Do a simple ".htaccess" search and you'll find it.
__________________
"Tjeezers.cam wishes you a nice day”
CaptainHowdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-01-2006, 05:44 PM   #9
ne0
Confirmed User
 
Join Date: May 2006
Location: brazil
Posts: 781
Redirect / wwwdotsomeserverdotcom

you cant do this with vhosts pointed to the same place, to do this you have to edit the apache vhosts section at apache.conf (usually /etc/httpd/conf/httpd.conf)

#2
and no, you're just redirecting requests to the root dir.
__________________
hai2u
ne0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.