Unable to Access Google using Lynx

Symptom: Attempts to access www.google.com using Lynx result in the error, “Google Error Bad Request” or “400 Bad Request”.

Cause: Some Linux distributions ship with a large /etc/mailcap or ~/.mailcap file that Lynx is using to send a huge Accept: header and google doesn’t like it.

Fix: In /etc/lynx.cfg, edit

"GLOBAL_MAILCAP:/etc/mailcap" to "GLOBAL_MAILCAP:/dev/null"
or
"PERSONAL_MAILCAP:~/.mailcap" to "PERSONAL_MAILCAP:/dev/null"

as appropriate (depending on which mailcap file is causing the grief).

 

 

Leave a comment or a question

You must be logged in to post a comment.

%d bloggers like this: