severity 613958 minor
tag 613958 + confirmed
kthxbye
Hi Michal,
Michal Suchanek wrote:
> A file with .php extension containing html (such as when page with that
> name is saved from a server using php scripts) is displayed as text.
Well, this is the behaviour I'd expect, because php files can be
anything and don't need to be HTML.
> The file utility correctly detects the file as a html text
Lynx uses a file suffix to mime-type mapping and refuses to display
files of type application/x-httpd-php.
> but links fails to render it.
Nope. It renders it fine, just not automatically. ;-) Just press "\"
and links2 renders it as it would have been HTML. :-)
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]