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 10-21-2005, 09:50 AM   #1
tranza
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.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 09:54 AM   #2
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
nice tits.
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 09:54 AM   #3
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
Nicole Sheridan without makeup?
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 09:55 AM   #4
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Quote:
Originally Posted by u-Bob
nice tits.
So you can see it?
__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 09:56 AM   #5
Marcus Aurelius
No Refunds Issued.
 
Marcus Aurelius's Avatar
 
Industry Role:
Join Date: Apr 2003
Posts: 14,809
I see it just fine.
Marcus Aurelius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 09:57 AM   #6
tranza
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.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:03 AM   #7
abz
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/
__________________

Got mainstream or adult blogs?
Create an adsense empire with the click of a button


Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688
abz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:04 AM   #8
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
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
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:19 AM   #9
tranza
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.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:22 AM   #10
Tom_PM
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.
Tom_PM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:24 AM   #11
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Quote:
Originally Posted by PR_Tom
If you block the null referrer though, alot of firewalls like nortons will block the images too. Pain in the ass.
Damn! Really?

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.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:25 AM   #12
abz
Senior Member
 
Join Date: Apr 2001
Location: 109-819-688
Posts: 4,498
just use this http://www.htmlbasix.com/disablehotlinking.shtml
__________________

Got mainstream or adult blogs?
Create an adsense empire with the click of a button


Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688
abz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:29 AM   #13
Tom_PM
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.
Tom_PM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:29 AM   #14
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Quote:
Originally Posted by abz
That's how you got that code you showed me, huh??

;)

Will this affect what PR_Tom just told me?
__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:33 AM   #15
Tom_PM
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.
Tom_PM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:40 AM   #16
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Quote:
Originally Posted by PR_Tom
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.
I just took that down. htacess should be working now...

__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:40 AM   #17
abz
Senior Member
 
Join Date: Apr 2001
Location: 109-819-688
Posts: 4,498
shit I cant see them tits now
__________________

Got mainstream or adult blogs?
Create an adsense empire with the click of a button


Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688
abz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:50 AM   #18
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Quote:
Originally Posted by abz
shit I cant see them tits now
That's the point of htacess...

__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:52 AM   #19
OG LennyT
Wall Street Pimp
 
OG LennyT's Avatar
 
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
OG LennyT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 10:54 AM   #20
abz
Senior Member
 
Join Date: Apr 2001
Location: 109-819-688
Posts: 4,498
Quote:
Originally Posted by dvd316
I allowed GFY on my .htaccess, along with Google.. I'm nutty that way
__________________

Got mainstream or adult blogs?
Create an adsense empire with the click of a button


Need Banners Galleries Logos? Reliable Designer -- ICQ -- 109-825-688
abz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2005, 11:05 AM   #21
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Quote:
Originally Posted by dvd316
I allowed GFY on my .htaccess, along with Google.. I'm nutty that way
Google doesn't hotlink.

__________________
I'm just a newbie.
tranza 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.