These lines continue existing in my log, resulting in a huge size within an hour.
Would you suggest me some ways to solve it. Thank you so much.
I think it's more like
referer spam. See these posts for some idea's:
http://www.linuxquestions.org/questi...22#post1916122
http://en.wikipedia.org/wiki/Referer_spam
* Please note that any solution, especially those that require you to use any form of IP/range blocking, is inflexible because you may be (inadvertedly) blocking ranges where clients may come from and (will become) unmanageable, because you will build up large lists for what probably are one-off's. Most of all this will not be addressing what you have (request) which should be dealt with by filtering using regexes.
** Now we do understand this is some issue to you, but please do not cross-post in LQ. Crossposting is against the
LQ Rules. Cross-posting is considered bad netiquette on your part, a waste of resources on LQ's part and a waste of time for LQ members who take the time to read and answer your questions.
Please do not do that again.