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
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 08-27-2001, 11:07 AM   #1
dank
Confirmed User
 
Industry Role:
Join Date: Mar 2001
Posts: 1,674
What is htaccess exactly and where do I get it???

Someone posted a message to me and said I should get htaccess for my content site to protect my shit from being stolen by any dickhead thiefs out there.

Does anyone know how it works and where i can get htaccess????
dank is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 11:11 AM   #2
Rocky
Confirmed User
 
Join Date: Jul 2001
Location: Living Off The Grid
Posts: 3,022
this is a very informative thread about .htaccess Dank
http://www.tgpowners.com/members/ubb...ML/000053.html

------------------
Proud Member Of The Thumb Lords</FONT>
Rocky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 11:14 AM   #3
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
All it is is a text file you put in your root directory on unix servers and it will protect from that directory on down.

Make a file and put the following in it:

RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://.*yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx.xxx/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.yourdomain.com/ [R,L]

Put your domain's IP address in xxx.xxx.xxx.xxx. Save it to a text file - upload it in ascii and then change it to:

.htaccess

and there ya go

------------------
TopBucks.com - Converting at better than 1:130
David Lace Content - Highest Quality Teen Content
ConversionCash.com - Make Money off your WebTV Traffic
Chris R is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 11:14 AM   #4
dank
Confirmed User
 
Industry Role:
Join Date: Mar 2001
Posts: 1,674
Cool!
Thanx Rocky!!
dank is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 11:27 AM   #5
Rocky
Confirmed User
 
Join Date: Jul 2001
Location: Living Off The Grid
Posts: 3,022
no problem Dank

hope it answers all of your questions

------------------
Proud Member Of The Thumb Lords</FONT>
Rocky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 11:34 AM   #6
dank
Confirmed User
 
Industry Role:
Join Date: Mar 2001
Posts: 1,674
and Thanx to you too Chris R!

All very good info!

Much needed and much appreciated!
dank is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 11:35 AM   #7
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
Quote:
Originally posted by Chris R:
upload it in ascii
VERY important dank.... or it won't work.
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 08:54 PM   #8
SonOfRage
Confirmed User
 
Join Date: Apr 2001
Location: You have a cute daughter, mind if I jack?
Posts: 632
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://.*yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx.xxx/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.yourdomain.com/
[R,L]

This is cool, but it also prevents people linking to your galleries. I need TGP's to be able to link to my galleries.

Anyway to rewrite this to only block images?

Thanks
SonOfRage is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 09:08 PM   #9
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
That allows them to link to your galleries, it just doesn't let someone steal your pictures.

Anotherwords, I can link to your site just fine, but if I try to link your image from MY SITE, it won't work.

[a href"your site"]

ok

[img src"image from your site"]

not ok



------------------
TopBucks.com - Converting at better than 1:130
David Lace Content - Highest Quality Teen Content
ConversionCash.com - Make Money off your WebTV Traffic
Chris R is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 09:19 PM   #10
SonOfRage
Confirmed User
 
Join Date: Apr 2001
Location: You have a cute daughter, mind if I jack?
Posts: 632
Quote:
Originally posted by Chris R:
That allows them to link to your galleries, it just doesn't let someone steal your pictures.

Anotherwords, I can link to your site just fine, but if I try to link your image from MY SITE, it won't work.

[a href"your site"]


ok

[img src"image from your site"]

not ok


Hmm...didnt seem to work for me. My images were protected...but I also checked to see if my galleries would load from a TGP. All links to my galleries from the TGP gave me an Internal Server Error.
SonOfRage is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 09:20 PM   #11
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
To see why this is a problem - look at these thieves:
http://www.bojue.com/big5/board/board1/data/

I bet every page in there is hotlinking to graphics - here is what happened to me:
2 37100 0.83% http://www.bojue.com/big5/board/board1/data/18243.html
3 18455 0.41% http://www.persiankitty.com/
4 16899 0.38% http://www.dudu-sex.com/board1/data/855.htm
5 16588 0.37% http://www.thumbzilla.com/main.html

This was before I installed hotlinking protection. Notice the assholes from 2 and 4 were stealing more from me than legitimate sites were giving me such as persian kitty and the like.

I think they should be shut down, but no one cares. Auston hosts one of them, and did remove the offending page after I emailed them.

------------------
TopBucks.com - Converting at better than 1:130
David Lace Content - Highest Quality Teen Content
ConversionCash.com - Make Money off your WebTV Traffic
Chris R is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 09:24 PM   #12
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
Do you have the [R,L] on the same line like my example and not like yours? Not sure if it would matter, but give it a try if you do. I know it works for me. I would try contacting your host if it still doesn't work.
Chris R is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 09:36 PM   #13
SonOfRage
Confirmed User
 
Join Date: Apr 2001
Location: You have a cute daughter, mind if I jack?
Posts: 632
BAM!!! That's it!!

works now!!! When I coppied it from the board then pasted it to my txt file...it had all these spaces and stuff. I removed all the spaces and put the [R,L] on the same line like you said...now it works!!!!

Thanks a bunch!!!!
SonOfRage is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 10:00 PM   #14
jimmyf
OU812
 
Join Date: Feb 2001
Location: California
Posts: 12,651
would i put the above code anywere in this
.htaccess

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName browsing
AuthUserFile /webadmin/home/pub/jimmyf/public_html/_vti_pvt/service.pwd
AuthGroupFile /webadmin/home/pub/jimmyf/public_html/_vti_pvt/service.grp

Thanks

Jim
jimmyf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 10:04 PM   #15
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
No problem SonOfRage... JimmyF, I do not know for sure - as I have heard of problems with the front page thingie, but don't remember what I read. I also don't know what that index ignore thing does.

If your graphics are in a subdirectory - you night want to just try using a seperate .htaccess (just like the ones written above) on that directory and see if you have any problems - or ask your host.
Chris R is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 10:09 PM   #16
jimmyf
OU812
 
Join Date: Feb 2001
Location: California
Posts: 12,651
I put the above code in the folder were my pics are and got the below error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you
might have done that may have caused the error.

More information about this error may be available in the server error log.

[This message has been edited by jimmyf (edited 08-27-2001).]
jimmyf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 10:50 PM   #17
yys
Confirmed User
 
Join Date: Aug 2001
Posts: 1,922
Here's a trick I think you can use with .htaccess, not sure as I haven't done it myself though. Allow the pricks to link your thumbnails but when the surfer on their gallery/site clicks the thumb to see the picture have the .htaccess file direct them to one of your sites or a sponsor.
yys is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 10:54 PM   #18
yys
Confirmed User
 
Join Date: Aug 2001
Posts: 1,922
I forgot to put this up in post. It's the .htaccess file I use.
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/
RewriteCond %{HTTP_REFERER} !^http://yourserverip/
RewriteRule /* http://www.karasxxx.com/potd/enter.shtml?xxx/



[This message has been edited by yys (edited 08-27-2001).]
yys is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-27-2001, 10:55 PM   #19
Chris R
Confirmed User
 
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
The problem with that is all the people that have hotlinked me hotlinked the full images. All 30k a piece and put them up one after another. I have larger galleries than most so this was 23 images.

Make sure you transfer in ascii and that you have no space problems (not HD SPace, but spacebar space).

------------------
TopBucks.com - Converting at better than 1:130
David Lace Content - Highest Quality Teen Content
ConversionCash.com - Make Money off your WebTV Traffic
Chris R 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



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.