Hello plz Give Me Ans How To Block libwww-perl..

Recommended Answers

All 2 Replies

If you have to do this in the code, you will need to check for the User-Agent request header. Since you will want to minimize the processing on these requests, you will want to consider putting this early in your code to handle the request with a forbidden response or similar.

Basically, grab the header and check the value against libwww-perl. If you are already doing this, and it's not working, post the relevant code for review so someone can at least see how you are trying to accomplish this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.