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-04-2004, 06:15 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Htaccess

Yo

Someone post a htaccess here for a freebsd system

I need to compare something

Dont tell me to search I am good looking
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-04-2004, 06:25 PM   #2
Anothers
Confirmed User
 
Join Date: Nov 2001
Location: Poland
Posts: 219
Isn't htaccess related to apache web server ?

What do you want to know?
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:27 PM   #3
SoundMan
So Fucking Banned
 
Join Date: Nov 2003
Location: MidWest
Posts: 3,471
Quote:
Originally posted by juicylinks
Yo

Someone post a htaccess here for a freebsd system

I need to compare something

Dont tell me to search I am good looking
search hahahahhaa
SoundMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:29 PM   #4
whee
Confirmed User
 
Join Date: Sep 2002
Location: http://www.nightstation.com
Posts: 1,375
Goddamnit Mr.

http://www.freebsddiary.org
__________________
http://www.nightstation.com
whee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:31 PM   #5
Anothers
Confirmed User
 
Join Date: Nov 2001
Location: Poland
Posts: 219
try this link
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:31 PM   #6
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
ErrorDocument 400 http://www.juicylinks.com
ErrorDocument 401 /index.shtml
ErrorDocument 402 http://www.juicylinks.com
ErrorDocument 403 http://www.juicylinks.com
ErrorDocument 404 http://www.juicylinks.com
ErrorDocument 500 http://www.juicylinks.com
ErrorDocument 501 http://www.juicylinks.com
ErrorDocument 502 http://www.juicylinks.com
ErrorDocument 503 http://www.juicylinks.com


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?juicylinks.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?gofuckyourself.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?gfyboard.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.juicylinks.com [R,NC]


how come norton firewall shows red x;s for images on moderate settings but when i disable htaccess evrythng works like normal?
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-04-2004, 06:31 PM   #7
cluck
Confirmed User
 
Join Date: Dec 2002
Location: New Jersey
Posts: 5,248
You really want it for your SE spam scripts so you can cloak with stealthness
__________________
icq 279990726
www.mcdonalds.com <- great money making opportunity
cluck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:33 PM   #8
Anothers
Confirmed User
 
Join Date: Nov 2001
Location: Poland
Posts: 219
maybe because firewall doesnt sends refferer?

add this line

RewriteCond %{HTTP_REFERER} !^$

after RewriteEngine on


then everyone going thru firewall will see images

Edited: removed hash
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:34 PM   #9
SomeCreep
:glugglug
 
SomeCreep's Avatar
 
Join Date: Mar 2003
Location: Where the Wild Things Are
Posts: 26,118
Quote:
Originally posted by juicylinks

how come norton firewall shows red x;s for images on moderate settings but when i disable htaccess evrythng works like normal?
Norton blocks http referrer headers, hence htaccess will think you/the surfer is hotlinking.
__________________

Webair Hosting

I use and recommend Webair for hosting.
SomeCreep is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:45 PM   #10
Anothers
Confirmed User
 
Join Date: Nov 2001
Location: Poland
Posts: 219
there is one more thing

you can modify your htaccess line to something
like this


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://cgi.(aol\.)?ebay\.com [NC]
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(www\.)?juicylinks.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(www\.)?gofuckyourself.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://(www\.)?gfyboard.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.juicylinks.com [R,NC]


and what is it all about:
- line with cgi.(aol).. - has something with aol users (some kind of proxy) I don't remember exactly but works
- funny (wy[sc]iwyg://[0-9]*/)? is for users with some netscape versions (there is problem when images are called thru j a v a s c r i p t - like o n m o u s e o v e r)

and you should add one line with your server (juicylinks.com) ip

RewriteCond %{HTTP_REFERER} !^(wy[sc]iwyg://[0-9]*/)?http://69.42.74.68(/)?.*$ [NC]
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:55 PM   #11
cashman
Confirmed User
 
Join Date: Mar 2004
Posts: 898
There are many parameters and variables you can use
cashman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 06:55 PM   #12
Anothers
Confirmed User
 
Join Date: Nov 2001
Location: Poland
Posts: 219
i must be blind

last line

RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.juicylinks.com [R,NC]

EDITED: I'm tired and I make simple mistakes

when you are using this line user on hotlinker page will see red x
but this red x will be your whole html code of index page on juicylinks so this will also update your stats etc. etc.

Last edited by Anothers; 03-04-2004 at 07:00 PM..
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 07:21 PM   #13
Jer
God is Brazilian
 
Join Date: Feb 2001
Location: Brazil
Posts: 10,601
Try this one

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?juicylinks.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://.*gofuckyourself.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://*.gfyboard.com.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.juicylinks.com [R,NC]
Jer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2004, 07:25 PM   #14
exspamr
Registered User
 
Join Date: Dec 2002
Posts: 1,427
Quote:
Originally posted by juicylinks


Dont tell me to search I am good looking
exspamr 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.