Skrevet av Emne: CGI scripts can't retrieve HTML docs using lynx  (Lest 2585 ganger)

ATC

  • Gjest
CGI scripts can't retrieve HTML docs using lynx
« på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • 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.



    ATC

    • Gjest
    [Solved] CGI scripts can't retrieve HTML docs using lynx
    « Svar #1 på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • 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:"