[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] lynx not honoring apache document root path

From: Thomas Dickey
Subject: Re: [Lynx-dev] lynx not honoring apache document root path
Date: Sun, 15 Jul 2007 12:10:22 -0400 (EDT)

On Sun, 15 Jul 2007, Hendrik-Jan Heins wrote:

Hello list,

I just stumbled upon a really weird problem with lynx:
There is this website:
If you go there with lynx, choose for instance the first brandname of
the list, and submit the query, you get an Apache2 error message of


Server: Apache^M
X-Powered-By: PHP/4.4.4-8+etch4^M
Set-Cookie: linux-wless[]=Linux+wireless+website; expires=Sun, 15 Jul 2007 16:5>
Set-Cookie: PHPSESSID=76ed6786a72b819562c829a5200cc0b4; path=/^M
Expires: Thu, 19 Nov 1981 08:52:00 GMT^M
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0^M
Pragma: no-cache^M
Connection: close^M
Content-Type: text/html; charset=utf-8^M

(something odd about that 1981).

the fact that the link you just requested, doesn't exist.

The weird thing is:
- the link does exist, and all other browsers I tried, do know how to
"find" it (firefox, seamonkey, konqueror, elinks, links).

w3m also (which counts more than any of the (e)links(2) variants).

- lynx is looking for the file in completely the wrong place, namely
in the root of Apache, not in the root of the domain.
- It seems that lynx by itself adds a "/" to the name of the file
- this only seems to happen with links that are <name>.php files and
not with <name>.html files, as those links work fine

Actually the "GET" in each case puts a "/" in front, whether it's a php
file or a html file.  You can see that in the trace file using

        lynx -trace

(Whether that's correct or a misfeature/misconfiguration of Apache, I'm not sure at the moment).

I've tried this with several versions, among which:

Lynx Version 2.8.6rel.4
Lynx Version 2.8.5rel.1

Could you please shed some light on this?



Lynx-dev mailing list

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]