View Full Version : GET /d2/i/...
BLTYNR
08-08-2011, 02:22 PM
Please help me
When i look on Apache Status page i see everytime to many request for this.
How can i disable this?
Whit htaccess hotlink protection for jpg files?
So where must i upload this .htaccess file?
In /var/www/html ?
16-0 30135 0/35/35 C 2.28 0 0 0.0 0.01 0.01 58.188.71.194 localhost GET /d2/i/00146/0m5vzq0exhw1.jpg HTTP/1.1
17-0 30136 2/20/20 C 0.29 0 0 0.8 0.01 0.01 115.39.218.71 localhost GET /d2/i/00146/1drdduvx0zmb.jpg HTTP/1.1
18-0 - 0/0/5 . 0.00 40 0 0.0 0.00 0.00 114.173.74.202 localhost GET /d2/i/00146/zbk1x4id3pf8.jpg HTTP/1.1
19-0 - 0/0/1 . 0.00 54 0 0.0 0.00 0.00 220.148.132.59 localhost GET /d2/i/00146/0m5vzq0exhw1.jpg HTTP/1.1
mr.applesauce
08-09-2011, 05:49 AM
Whatever folder the files are in or the parent folder.
BLTYNR
08-11-2011, 05:41 AM
I have update my Apache version to 2.2.19
When i look on Apache Status i see now to many lines with:
88.226.147.25 localhost NULL
122.29.15.107 localhost NULL
78.187.21.213 localhost NULL
81.212.101.110 localhost NULL
Anybody know what this is?
mr.applesauce
08-11-2011, 06:00 AM
its normal
BLTYNR
08-11-2011, 06:08 AM
Ok thank you, do you have any idea about how i can disable people from a referer?
I want disable that people from this site referer to my server so my error.log file is every day about 10 MB!
[code]
[Thu Aug 11 15:04:29 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:29 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:29 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:29 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:30 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:30 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:30 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:30 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/27034
[Thu Aug 11 15:04:45 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
[Thu Aug 11 15:04:45 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
[Thu Aug 11 15:04:45 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
[Thu Aug 11 15:04:45 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
[Thu Aug 11 15:04:46 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
[Thu Aug 11 15:04:46 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
[Thu Aug 11 15:04:46 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
[Thu Aug 11 15:04:46 2011] [error] [client 60.44.172.66] File does not exist: /var/www/html/403.shtml, referer: http://himado.in/19393
{/code]
Richard G
08-11-2011, 04:44 PM
Why don't you just put the errordocuments in place?
File does not exist: /var/www/html/403.shtml
Put your 404, 403, 405.shtml files in your /var/www/html directory and these logs lines will disappear.
If you want to block the referrer, try this via .htaccess:
http://www.besthostratings.com/articles/block-referrer-spam.html
Or just this:
RewriteEngine on
RewriteCond %{HTTP_REFERER} himado.in [NC]
RewriteRule .* - [F]
Should do the trick to I think.
BLTYNR
08-12-2011, 04:21 PM
Why don't you just put the errordocuments in place?
Put your 404, 403, 405.shtml files in your /var/www/html directory and these logs lines will disappear.
If you want to block the referrer, try this via .htaccess:
http://www.besthostratings.com/articles/block-referrer-spam.html
Or just this:
RewriteEngine on
RewriteCond %{HTTP_REFERER} himado.in [NC]
RewriteRule .* - [F]
Should do the trick to I think.
Thank you i have added the error pages and the htaccess file
Buw now i have this line's in my error_log:
[Sat Aug 13 01:27:00 2011] [error] [client 124.214.133.9] File does not exist: /var/www/html/d2
[Sat Aug 13 01:27:00 2011] [warn] [client 124.214.133.9] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed
[Sat Aug 13 01:27:18 2011] [warn] [client 211.16.220.124] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/?keyword=%E3%82%AB%E3%82%A4%E3%82%B8
[Sat Aug 13 01:27:29 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
[Sat Aug 13 01:27:29 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
[Sat Aug 13 01:27:30 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
[Sat Aug 13 01:27:30 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
[Sat Aug 13 01:27:32 2011] [error] [client 124.214.133.9] File does not exist: /var/www/html/d2
[Sat Aug 13 01:27:32 2011] [warn] [client 124.214.133.9] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed
[Sat Aug 13 01:27:35 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
[Sat Aug 13 01:27:35 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
[Sat Aug 13 01:27:35 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
[Sat Aug 13 01:27:36 2011] [warn] [client 123.217.230.131] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://himado.in/10239
Richard G
08-13-2011, 09:41 AM
I think you might add these lines to your .htaccess like this:
RewriteEngine on
Options -Indexes +FollowSymLinks
RewriteCond %{HTTP_REFERER} himado.in [NC]
RewriteRule .* - [F]
So add the second line in here, put spaces between s and - and s and +.
Or just copy and paste.:)
Hope this will help.
BLTYNR
08-13-2011, 06:21 PM
I think you might add these lines to your .htaccess like this:
So add the second line in here, put spaces between s and - and s and +.
Or just copy and paste.:)
Hope this will help.
I have added this code to my .htaccess file but now i get this errors :)
[Sun Aug 14 03:17:23 2011] [error] [client 220.105.114.176] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/?keyword=\xe3\x82\xab\xe3\x82\xa4\xe3\x82\xb8
[Sun Aug 14 03:17:35 2011] [error] [client 220.105.114.176] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/?keyword=\xe3\x82\xab\xe3\x82\xa4\xe3\x82\xb8
[Sun Aug 14 03:21:25 2011] [error] [client 121.80.182.61] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/6157
[Sun Aug 14 03:21:25 2011] [error] [client 121.80.182.61] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/6157
[Sun Aug 14 03:21:25 2011] [error] [client 121.80.182.61] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/6157
[Sun Aug 14 03:21:25 2011] [error] [client 121.80.182.61] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/6157
[Sun Aug 14 03:21:37 2011] [error] [client 180.11.10.49] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/5658
[Sun Aug 14 03:21:37 2011] [error] [client 180.11.10.49] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/5658
[Sun Aug 14 03:21:37 2011] [error] [client 180.11.10.49] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/5658
[Sun Aug 14 03:21:39 2011] [error] [client 180.11.10.49] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://himado.in/5658
Richard G
08-14-2011, 06:25 AM
In that case you can best remove the lines I advised. Somewhere I must have made a mistake in the redirects then.
But I'm don't know for sure where, maybe somebody else has some clue.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.