|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I would like to exclude the REFERRER
67.15.114.78/statsdelivered2/ from hitting my site. How do I do it? This is a maliciously ridiculous site that shows another ad every time you reload it. However, our pages receive all kinds of hits by clicking into the above pages. We cannot see what these malicious people do with our pages, because, as I said before, we see a new page from there every time we try to get there. Is it possible to have something in the .htaccess file that precludes people from getting to our pages after clicking a link into the above address? Thank you very much. maria |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 15 Feb, 05:35, maria <maria@maria_de_napoli.com> wrote:
> I would like to exclude the REFERRER > > 67.15.114.78/statsdelivered2/ > > from hitting my site. How do I do it? > This is a maliciously ridiculous site that shows another > ad every time you reload it. However, our pages receive all > kinds of hits by clicking into the above pages. > We cannot see what these malicious people do with our pages, > because, as I said before, we see a new page from there every time we > try to get there. > Is it possible to have something in the .htaccess file that precludes > people from getting to our pages after clicking a link into the above > address? > Thank you very much. > > maria just disable javascript using noscript, and you can. In fact it shows frames with others sites inside, as well as content from about 30 domains. Do you receive requests for html content. If you do, why not embed some code in the head of this html page which redirects the whole damn page away to somewhere like google. the code would be something like this: (you have to allow domains and servers which you _do_ want your page to be framed in, like google analytics, and other websites that you need stats from etc.. all others than try to frame your html will then be directed.) <script type="text/javascript"> function in_array(needle,arrHaystack) { var hl = arrHaystack.length; for(i=0;i<hl;i++) { if(needle==arrHaystack[i]) return true; } return false; } try { var strurl = top.location.href; var strhost = strurl.substring(7,strurl.indexOf('/',10)); var arrallowedcachinghosts = new Array('www.yourdomain.com','anothefriendlyserver.c om'); if(!in_array(strhost,arrallowedcachinghosts)) { try { window.location.replace('http://www.google.com/); }catch(error){} } }catch(e){} </script> encoding this javascript, and saving in your html docs will remove framing for all sites. dont rely on the referer header to you 100%, it is set (or maybe not) by the users browser. There is an example in the manual to stop hotlinking. Not to mention here: http://www.tiglo.co.uk see this page - where a "goaway" image is found and served instead of your original /technology/internet/Part-1-Preventing-Image-Hotlinking-Web-Scrapers- And-Referral-Spam.html found from googling "apache 2.2 docs hot-linking" |
|
![]() |
| Outils de la discussion | |
|
|