473,805 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

/robots.txt at end of URL?

I'm noticing that web requrests are coming in with /robots.txt appended at the
end:

http://www.domain.com/ProductDetails...527/robots.txt

I can correct these, one by one for each page, but I'd like to find a way to
have ASP.NET 2.,0 strip this invalid /robots.txt off the end of any URL for me.

Is this possible?
--
Thanks in advance, Les Caudle
Jul 20 '07 #1
4 1600
Let me asking why do you want to strip it?
robors.txt is asked by automatic robots that collect information. Like
google or yaho.

But in your case apparently it's some lame robot that can not parse out url
correctly simply ads /robot.txt to the end of url and asks for it from the
server.
So why would you worry what kind of garbage it will get in return from your
page.
All important robots you should be worring about like Google or Yahoo parse
out url correctly.

So i am saying just ignore it. It's not human.

George.

"Les Caudle" <Do***********@ newsgroup.nospa mwrote in message
news:o4******** *************** *********@4ax.c om...
I'm noticing that web requrests are coming in with /robots.txt appended at
the
end:

http://www.domain.com/ProductDetails...527/robots.txt

I can correct these, one by one for each page, but I'd like to find a way
to
have ASP.NET 2.,0 strip this invalid /robots.txt off the end of any URL
for me.

Is this possible?
--
Thanks in advance, Les Caudle

Jul 20 '07 #2
Well, it creates an event in my event log that would distract me from real
events caused by users who had problems.

Would be nice to be able to globally deal with it.

Regards, Les Caudle

On Fri, 20 Jul 2007 10:28:48 -0400, "George Ter-Saakov" <gt****@cardone .com>
wrote:
>Let me asking why do you want to strip it?
robors.txt is asked by automatic robots that collect information. Like
google or yaho.

But in your case apparently it's some lame robot that can not parse out url
correctly simply ads /robot.txt to the end of url and asks for it from the
server.
So why would you worry what kind of garbage it will get in return from your
page.
All important robots you should be worring about like Google or Yahoo parse
out url correctly.

So i am saying just ignore it. It's not human.

George.

"Les Caudle" <Do***********@ newsgroup.nospa mwrote in message
news:o4******* *************** **********@4ax. com...
>I'm noticing that web requrests are coming in with /robots.txt appended at
the
end:

http://www.domain.com/ProductDetails...527/robots.txt

I can correct these, one by one for each page, but I'd like to find a way
to
have ASP.NET 2.,0 strip this invalid /robots.txt off the end of any URL
for me.

Is this possible?
--
Thanks in advance, Les Caudle
Jul 20 '07 #3
Well, the problem is that this time it's robot.txt. Next time (with another
bad robot) it will be something else.
You can not fix it for every bad robot that out there.
Override Application_OnE rror and send an email to yourself every time
something bad happened. Then you can use Email's rules to filter out the
most annoying ones

George.
"Les Caudle" <Do***********@ newsgroup.nospa mwrote in message
news:lq******** *************** *********@4ax.c om...
Well, it creates an event in my event log that would distract me from real
events caused by users who had problems.

Would be nice to be able to globally deal with it.

Regards, Les Caudle

On Fri, 20 Jul 2007 10:28:48 -0400, "George Ter-Saakov"
<gt****@cardone .com>
wrote:
>>Let me asking why do you want to strip it?
robors.txt is asked by automatic robots that collect information. Like
google or yaho.

But in your case apparently it's some lame robot that can not parse out
url
correctly simply ads /robot.txt to the end of url and asks for it from the
server.
So why would you worry what kind of garbage it will get in return from
your
page.
All important robots you should be worring about like Google or Yahoo
parse
out url correctly.

So i am saying just ignore it. It's not human.

George.

"Les Caudle" <Do***********@ newsgroup.nospa mwrote in message
news:o4****** *************** ***********@4ax .com...
>>I'm noticing that web requrests are coming in with /robots.txt appended
at
the
end:

http://www.domain.com/ProductDetails...527/robots.txt

I can correct these, one by one for each page, but I'd like to find a
way
to
have ASP.NET 2.,0 strip this invalid /robots.txt off the end of any URL
for me.

Is this possible?
--
Thanks in advance, Les Caudle

Jul 20 '07 #4
Hi Les,

I agree with George, as long as your web site can be accessed publicly, you
cannot guarantee every URL request is valid or in expected manner.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 22 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2064
by: Craig Cockburn | last post by:
Hi I'm aware of the use of robots.txt and the use of <META NAME="ROBOTS" CONTENT="index,follow"> However, what would be more useful is to be able to control within a page which elements of the page should be indexed and seen by robots and which elements are simply page furniture and it is safe to ignore or not cache (e.g. adverts).
56
3642
by: Anonymous, quoting Philip Ronan | last post by:
Subject: Warning: robots.txt unreliable in Apache servers From: Philip Ronan <invalid@invalid.invalid> Newsgroups: alt.internet.search-engines Message-ID: <BF89BF33.39FDF%invalid@invalid.invalid> Date: Sat, 29 Oct 2005 23:07:46 GMT Hi, I recently discovered that robots.txt files aren't necessarily any use on Apache servers.
2
1377
by: Janus Knudsen | last post by:
Hello Im collecting ideas for a piece of software I've in mind. I need to create an application which can be started with some parameters, the application have to be started in many instances and on many servers. Every instance has a special job to fullfill, think of the instances as small robots - a robot farm or something like that. Every robot should be able to tell for instance when its idle, when its running etc..
4
2354
by: Misfit | last post by:
I have wondered, and I've tried this on a few random sites. I type the name of a site. www.somesite.com and follow it with /robots.txt. This can tell the robots not to bother indexing the /images/ directory or something, but it can also tell script kiddies where to look for stuff. For example the Disallow may read Disallow: /AdminPages/. So, isn't that a simple way to tell someone to type that into their browser and see if it is open?...
5
1944
by: John Nagle | last post by:
This bug, " robotparser interactively prompts for username and password", has been open since 2003. It killed a big batch job of ours last night. Module "robotparser" naively uses "urlopen" to read "robots.txt" URLs. If the server asks for basic authentication on that file, "robotparser" prompts for the password on standard input. Which is rarely what you want. You can demonstrate this with: import robotparser
5
2341
by: John Nagle | last post by:
Python's "robots.txt" file parser may be misinterpreting a special case. Given a robots.txt file like this: User-agent: * Disallow: // Disallow: /account/registration Disallow: /account/mypro Disallow: /account/myint ...
2
2628
by: John Nagle | last post by:
For some reason, Python's parser for "robots.txt" files doesn't like Wikipedia's "robots.txt" file: False The Wikipedia robots.txt file passes robots.txt validation, and it doesn't disallow unknown browsers. But the Python parser doesn't see it that way. No matter what user agent or URL is specified; for that robots.txt file, the only answer is "False". It's failing in Python 2.4 on Windows and 2.5 on Fedora Core.
0
9718
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10613
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10363
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10368
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3846
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.