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 Mark Forums Read
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 03-24-2003, 02:15 PM   #1
kelry
Registered User
 
Join Date: Sep 2001
Location: BKK
Posts: 23
please give me some tips about htaccess

Dear all surfers of gofuckyourself

I am just a rookie in this business and i just want to know some tip about the htaccess.

i have a site for moviepost and i have got a lot of hot link. But when i put the htaccess on the movie folder, some surfers complain that they could not watch the movies.

So, Do you guy knows any tips for htaccess to prevent this kind of problems? Otherwise, How can i change htaccess from allowing only people who came from my domain to watch the movies to prohibit all surfers who came from websites that hot link my sites?

Please help me
kelry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:16 PM   #2
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
post your current htaccess and show me your tits
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:16 PM   #3
BRISK
Too lazy to set a custom title
 
Join Date: Feb 2003
Posts: 12,240
can't be done
__________________
I post on GFY so that when people ask me what I do,
I can tell them that I work with the mentally retarded.
BRISK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:40 PM   #4
kelry
Registered User
 
Join Date: Sep 2001
Location: BKK
Posts: 23
Heer is my htaccess

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com [NC]
RewriteRule [^/]+\.(exe|mpeg|mpg|avi|mp3|gif|jpg|JPG|GIF|MP3|AVI)$ - [F]
RewriteRule ^/cgi-bin/.+$ - [F]
#ErrorDocument 403 http://www.yahoo.com
#ErrorDocument 404 http://www.yahoo.com
#ErrorDocument 500 http://www.yahoo.com

But my friend tell me that if i want to prohibit hot link from http://www.j-movies.com ihave to right this

RewriteCond %{HTTP_REFERER} ^http://www.j-movies.com [NC]

(just remove the "!" from RewriteCond)

Is that true?
kelry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:42 PM   #5
oscer
Confirmed User
 
Industry Role:
Join Date: Jan 2001
Location: Baltimore
Posts: 2,834
Quote:
Originally posted by kelry
Dear all surfers of gofuckyourself

I am just a rookie in this business and i just want to know some tip about the htaccess.

i have a site for moviepost and i have got a lot of hot link. But when i put the htaccess on the movie folder, some surfers complain that they could not watch the movies.

So, Do you guy knows any tips for htaccess to prevent this kind of problems? Otherwise, How can i change htaccess from allowing only people who came from my domain to watch the movies to prohibit all surfers who came from websites that hot link my sites?

Please help me
Preventing Hotlinking isnt that hard Just turn on mod rewrite in apache and do up some code .... you can probally find the code on google
__________________
XR Networks
Dedicated | VPS | Shared Hosting
ICQ 42602565
oscer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:42 PM   #6
oscer
Confirmed User
 
Industry Role:
Join Date: Jan 2001
Location: Baltimore
Posts: 2,834
Quote:
Originally posted by kelry
Heer is my htaccess

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com [NC]
RewriteRule [^/]+\.(exe|mpeg|mpg|avi|mp3|gif|jpg|JPG|GIF|MP3|AVI)$ - [F]
RewriteRule ^/cgi-bin/.+$ - [F]
#ErrorDocument 403 http://www.yahoo.com
#ErrorDocument 404 http://www.yahoo.com
#ErrorDocument 500 http://www.yahoo.com

But my friend tell me that if i want to prohibit hot link from http://www.j-movies.com ihave to right this

RewriteCond %{HTTP_REFERER} ^http://www.j-movies.com [NC]

(just remove the "!" from RewriteCond)

Is that true?

its alot different then mine but it could work
__________________
XR Networks
Dedicated | VPS | Shared Hosting
ICQ 42602565
oscer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:45 PM   #7
pantymaniac
Confirmed User
 
Join Date: Feb 2003
Location: In Your GF's Panty.
Posts: 1,192
-----------
Options +FollowSymlinks

ErrorDocument 401 /errordocs/404.htm
ErrorDocument 403 /errordocs/404.htm
ErrorDocument 404 /errordocs/404.htm
ErrorDocument 500 /errordocs/404.htm

RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG|zip|ZIP)$ /errordocs/404.htm [R,L]
------------

maybe ?
__________________
This place is for RENT
pantymaniac is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:48 PM   #8
kelry
Registered User
 
Join Date: Sep 2001
Location: BKK
Posts: 23

Some of my frined tell me that I should use the cookie by using this code


RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*mydomainname.com/ [NC]
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=mydomainname(;.*|$)
RewriteRule /*$ http://www.yahoo.com [L,R]


and i have tp place code listed bolow before the </head> on every html pages

hahahahahahahaha LANGUAGE="hahahahahahahahahaha">
// Calculate the expiration date
var expires = new Date ();
expires.setTime(expires.getTime() + 1 * 60 * 60 * 2);
documenthahahahahahahaha = "id=mydomainname; path=/" + "; expires=" + expires.toGMTString();
</hahahahahahahaha

Is this also true?

Because he claims that this will allow all surfers that came from my site to view the movies and preventing 100% of hotlinks.

It seem so good to be true.
kelry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:51 PM   #9
kelry
Registered User
 
Join Date: Sep 2001
Location: BKK
Posts: 23
please replece the first hahahahahahahaha with <SCRlPT and
please replece the second hahahahahahahaha with ja\/ascript.
kelry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 02:52 PM   #10
kelry
Registered User
 
Join Date: Sep 2001
Location: BKK
Posts: 23
please replece the first hahahahahahahaha with SCRlPT and
please replece the second hahahahahahahaha with ja\/ascript.
kelry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 03:48 PM   #11
Briscoe
Confirmed User
 
Join Date: Mar 2003
Location: Las Vegas
Posts: 153
I concur. I have had to do all that shit with mod_rewrite with videos and cookies is the best.
__________________
Earn up to 70% per sale and 15% on webmaster referrals
Signup for Horny Teen Cum Sluts
A CCBill and NoCreditCard partner
Briscoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 04:08 PM   #12
LiveCam
Confirmed User
 
Join Date: Feb 2003
Location: on the sun
Posts: 370
iam a new-b with htaccess

wtf is that ?
LiveCam 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
Thread Tools



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.