![]() |
![]() |
![]() |
||||
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 |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Testing htaccess
Can you see this pic?
__________________
I'm just a newbie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
nice tits.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
Nicole Sheridan without makeup?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
No Refunds Issued.
Industry Role:
Join Date: Apr 2003
Posts: 14,809
|
I see it just fine.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Fuck! I moved servers and I lost my htaccess files (well, the originals are in Brazil).
Can you guys help me out by pointing out what I have done wrong here? Options All -Indexes order allow,deny allow from all Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.marypussy\.com RewriteRule (.*) http://www.marypussy.com/$1 [R=permanent,L] RewriteEngine on RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ - [F,NC] ErrorDocument 400 http://www.marypussy.com/ ErrorDocument 403 http://www.marypussy.com/ ErrorDocument 404 http://www.marypussy.com/ ErrorDocument 500 http://www.marypussy.com/ ErrorDocument 501 http://www.marypussy.com/ ErrorDocument 503 http://www.marypussy.com/
__________________
I'm just a newbie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Senior Member
Join Date: Apr 2001
Location: 109-819-688
Posts: 4,498
|
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?marypussy.com(/)?.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://marypussy.com [R,NC] ErrorDocument 400 http://www.marypussy.com/ ErrorDocument 403 http://www.marypussy.com/ ErrorDocument 404 http://www.marypussy.com/ ErrorDocument 500 http://www.marypussy.com/ ErrorDocument 501 http://www.marypussy.com/ ErrorDocument 503 http://www.marypussy.com/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
this assumes null referrers and domain.com and anotherdomain.com are domains that you WANT to be able to hotlink from. If you want to block null referrers just remove the top line.
RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?anotherdomain.com.*$ [NC] RewriteRule \.(jpe?g|gif|bmp|png)$ - [F,NC,L] Any request for an image from anywhere else will be given a 403 response |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
So a htaccess like this one would be fine? (see below)
order allow,deny allow from all Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?marypussy.com.*$ [NC] RewriteRule \.(jpe?g|gif|bmp|png)$ - [F,NC,L] RewriteEngine on RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ - [F,NC] ErrorDocument 400 http://www.marypussy.com/ ErrorDocument 403 http://www.marypussy.com/ ErrorDocument 404 http://www.marypussy.com/ ErrorDocument 500 http://www.marypussy.com/ ErrorDocument 501 http://www.marypussy.com/ ErrorDocument 503 http://www.marypussy.com/
__________________
I'm just a newbie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
If you block the null referrer though, alot of firewalls like nortons will block the images too. Pain in the ass.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
So what should my .htaccess should look like? BTW: I don't remember all this stuff from the first time I dealt with my htaccess, it seemed easier.
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Senior Member
Join Date: Apr 2001
Location: 109-819-688
Posts: 4,498
|
just use this http://www.htmlbasix.com/disablehotlinking.shtml
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
Well, assuming the rest of your code is how it needs to be, then make it like this:
order allow,deny allow from all Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?marypussy.com.*$ [NC] RewriteRule \.(jpe?g|gif|bmp|png)$ - [F,NC,L] RewriteEngine on RewriteCond %{HTTP_REFERER} .*fusker*.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|bmp|png)$ - [F,NC] ErrorDocument 400 http://www.marypussy.com/ ErrorDocument 403 http://www.marypussy.com/ ErrorDocument 404 http://www.marypussy.com/ ErrorDocument 500 http://www.marypussy.com/ ErrorDocument 501 http://www.marypussy.com/ ErrorDocument 503 http://www.marypussy.com/ The null referrer might be ok to block, but if you submit to places who use firewalls, and get rejected because of "broken images", thats likely why. I also dont know why you'd need your order allow,deny allow from all Since you are not denying from anything. But I'm no expert either.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
;) Will this affect what PR_Tom just told me?
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
RewriteCond %{HTTP_REFERER} !^$
Thats the line that says "If the referrer is NOT Null" Add it for more protection, but if a reviewer tells you broken images, he/she may have a null referrer due to nortons.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Senior Member
Join Date: Apr 2001
Location: 109-819-688
Posts: 4,498
|
shit I cant see them tits now
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
![]()
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Wall Street Pimp
Industry Role:
Join Date: Jun 2003
Location: Phoenix, AZ
Posts: 14,345
|
I allowed GFY on my .htaccess, along with Google.. I'm nutty that way
__________________
Tradeking - my online broker | 4.95 a trade | make real $$ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Senior Member
Join Date: Apr 2001
Location: 109-819-688
Posts: 4,498
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
![]()
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |