473,387 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

/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 1583
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.nospamwrote 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 #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.nospamwrote 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_OnError 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.nospamwrote in message
news:lq********************************@4ax.com...
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.nospamwrote 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
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...
56
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>...
2
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...
4
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...
5
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...
5
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...
2
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.