LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 12-08-2019, 02:28 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
406 error trying to connect to harryshearer.com


2 different domains, on 2 different hosts, blocked my attempts to connect to harryshearer.com (Spinal Tap's bassist, voice of many characters on The Simpsons), returning
Quote:

'Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.'
 
Old 12-08-2019, 08:18 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
For what it's worth, I had no problems connecting either tonight or several times earlier this week, so it's not a system-wide issue.
 
Old 12-08-2019, 09:50 PM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
I figured it out: harryshearer.com rejects connections by lynx. At home I change the user-agent header to fool them. If I do it at those sites I can fool harryshearer.com.
 
Old 12-09-2019, 07:41 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Thanks for the update! Nice job of detective work.

I just checked. It accepts connections from w3m and links.
 
Old 12-10-2019, 06:04 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
I should have suspected. I'm a long-time member of the lynx mailing list, this is a common problem, I long ago changed my user-agent header at home. I don't know why I didn't think of it first thing elsewhere.
 
Old 12-10-2019, 07:14 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Why would they ban lynx and not other text browsers?
 
Old 12-10-2019, 10:51 PM   #7
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by frankbell View Post
Why would they ban lynx and not other text browsers?
Lynxsters tell me lynx is the most popular browser to 'scrape' websites. It may be smaller and/or faster; it may merely be older. washingtonpost.com blocks lynx. I notice that many websites don't count lynx accesses. I can access nytimes.com all I like without a subscription. newyorker.com does count, but it's exceptional.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to any of the specified host exception is displaying while trying to connect to remote database nsoma26@gmail.com Linux - Newbie 4 03-08-2018 06:50 AM
i'm trying configure a VPN Server with PPTP now to trying to connect on with ldap anis123 Linux - Server 0 01-17-2014 08:44 AM
Trying to get captive-ntfs to work, get an error when trying to mount EOHooligan Linux - General 1 06-09-2005 06:23 AM
no listener error when trying to connect to oracle 10g on linux from windows client kheldar Linux - Networking 1 07-25-2004 04:00 AM
error 2013 trying to connect to MySQL bentman78 Linux - Software 3 03-28-2003 05:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration