![]() |
![]() |
![]() |
||||
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
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???? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Mar 2001
Posts: 1,674
|
Cool!
Thanx Rocky!! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Apr 2001
Location: You have a cute daughter, mind if I jack?
Posts: 632
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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!!!! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |