Ano-Tech Computers
Enter keyword:

CGI scripts can't retrieve HTML docs using lynx
Problem:
CGI scripts sometimes uses the text based command line browser "lynx" to retrieve remote documents. After a major Apache upgrade lynx would no longer work, instead exiting with an uninformative "/xxxxx: Access denied" where xxxxx is a random string of characters.
 
Solution:
Lynx is unable to create a temporary file. The home directory of the apache/nobody user is invalid or refers to a directory where apache/nobody doesn't have write permissions. Manually edit "/etc/passwd", it should look something like this:

"nobody:x:99:99:Nobody:/tmp:"

 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles