|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jul 2001
Location: The Royal Family Crew
Posts: 3,649
|
Hi all,
short I just started a teen site and need .htaccess for my images so they cannot be hotlinked... I got nada .htaccess experience so if anyone could post step by step + what should stand in the .htaccess txt file (and what to call it) just need to only allow images to be shown on my domain... Thanks in advance... Vegaz p.s Im at nt host at prohosters |
|
|
|
|
|
#2 |
|
Master of Gfy.com
Industry Role:
Join Date: Feb 2002
Posts: 14,887
|
do a search on Ynot or cyberage or Yahoo, there is too many examples
|
|
|
|
|
|
#3 |
|
OU812
Join Date: Feb 2001
Location: California
Posts: 12,651
|
ICQ me and I'll give you 1..
or repost your email address so I can read it.
__________________
Epic CashEpic Cash works for me Solar Cash Paysite Plugin Gallery of the day freesites,POTD,Gallery generator with free hosting |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Oct 2001
Location: Where the sun don't shine
Posts: 1,185
|
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://yourdomain.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com:80.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com:80.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://0.0.0.0.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://0.0.0.0:80.*$ [NC] RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.yourdomain.com/hotlinkers.html Works like a charm. Just replace the domain and ip with your domain and ip. You should have a time based redirect as well wich trows the hotlinkers to a url of your choise |
|
|
|
|
|
#5 | |
|
Confirmed User
Join Date: Nov 2001
Posts: 2,531
|
Quote:
__________________
This Space for Rent |
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Oct 2001
Location: Where the sun don't shine
Posts: 1,185
|
raliz heres the short version http://www.webpimps.com/scripts/htaccess/
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
A few notes:
1) There is no point in adding :80. People type http://yahoo.com, not http://yahoo.com:80 2) There is no point in including the IP of the domain, again people access the web site using the domain name. If by "p.s Im at nt host at prohosters " you mean that you are on a Windows NT server running Internet Information Server, then this thread will not help you, it does not support .htaccess.
__________________
Does anyone look down here? |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Jul 2001
Location: The Royal Family Crew
Posts: 3,649
|
RK finnaly some1 found out that........
I just started another thread about it...lol and now this is on top again.... hmmm I need somekind of asp script but my host could not remember name/or script.... Vegaz
__________________
Did you fucking talk to me??! Who the fuck told you to talk to me??!" |
|
|
|
|
|
#9 | |
|
Confirmed User
Join Date: Oct 2001
Location: Where the sun don't shine
Posts: 1,185
|
Quote:
|
|
|
|
|
|
|
#10 | |
|
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
Quote:
All that matters is the HTTP_REFERER header. If the address bar shows http://www.gofuckyourself.com/ then the referer will be "http://www.gofuckyourself.com/" and not "http://66.60.188.13:80".
__________________
Does anyone look down here? |
|
|
|
|