GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   please give me some tips about htaccess (https://gfy.com/showthread.php?t=119062)

kelry 03-24-2003 02:15 PM

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:helpme

Juicy D. Links 03-24-2003 02:16 PM

post your current htaccess and show me your tits

BRISK 03-24-2003 02:16 PM

can't be done

kelry 03-24-2003 02:40 PM

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?

oscer 03-24-2003 02:42 PM

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:helpme

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

oscer 03-24-2003 02:42 PM

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

pantymaniac 03-24-2003 02:45 PM

-----------
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 ?

kelry 03-24-2003 02:48 PM

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 03-24-2003 02:51 PM

please replece the first hahahahahahahaha with <SCRlPT and
please replece the second hahahahahahahaha with ja\/ascript.

kelry 03-24-2003 02:52 PM

please replece the first hahahahahahahaha with SCRlPT and
please replece the second hahahahahahahaha with ja\/ascript.

Briscoe 03-24-2003 03:48 PM

I concur. I have had to do all that shit with mod_rewrite with videos and cookies is the best.

LiveCam 03-24-2003 04:08 PM

iam a new-b with htaccess

wtf is that ?


All times are GMT -7. The time now is 09:37 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123