|
|
|
||||
|
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
Join Date: Jan 2001
Location: LV Nev
Posts: 467
|
Htaccess Question
I know this has probably been asked before but what the heck.
I have an htaccess in my root domain that protects against hotlinking. It applies to all the images in that domain. How do I make it so that it protects against unwanted hotlinking but still allows SEs to use the image for promotion? Thanks for any help you can provide.
__________________
Submit to Lostbush |
|
|
|
|
|
#2 | |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
Quote:
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
|
#3 |
|
OU812
Join Date: Feb 2001
Location: California
Posts: 12,651
|
or just use it in folders were you have images...
.htaccess That's what I do.... can put it as many folders as you want....
__________________
Epic CashEpic Cash works for me Solar Cash Paysite Plugin Gallery of the day freesites,POTD,Gallery generator with free hosting |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
I would recomend using scripting to prevent hotlinking, Im currently looking into solutions for a couple of webmasters, .htaccess only blocks around 50% of people (am i correct in this estimate) Anyways I script could block 99.9% of people hotlinking.
|
|
|
|
|
|
#5 |
|
So Fucking Banned
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
|
A. You all probably mean mod_rewrite and not .htaccess. You happen to use it in .htaccess but its still mod_rewrite (can be placed in httpd.conf as well)
which leads to foe's remark Why do you think you can do anything with script that you cant do with mod_rewrite???? mod_rewrite blocks most of hotlinking (if used right) and not only 50%. What you do to block hotlinking is block all access to images (jpg,gif,...) from HTTP_REFERER that is not your own site. (problem with anti-hotlinking is that it may block more than 100% Id be happy to know what a script can do that mod_rewrite cant regarding the hotlinking issue. foe? enlighten us, would you? |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
could mod_rewrite do this, block all http_refferers from all domains not in a specified list?
|
|
|
|
|
|
#7 | |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
Quote:
cheers |
|
|
|
|
|
|
#8 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
actually, choker just posted a very nice example of it in another thread
cheers |
|
|
|
|
|
#9 |
|
So Fucking Banned
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
|
mod_rewrite is an rule-based script-like language implemented as an apache module. very easy to do what foe asked.
You can very sophisticated conditioning not only upon referer. I'd suggest to read the mod_rewrite tutorial before deciding to do something on script. you will be surprised what you can achieve with mod_rewrite. mod_rewrite is a little complex to grasp and master - but once you are "there" you will be a happy webMaster |
|
|
|