Bug#351858: apache2: invalid HTML default directory listings
Package: apache2
Version: 2.0.53-5
Severity: minor
# mkdir /var/www/apache2-default/k
# validate http://localhost/apache2-default/k/
*** Errors validating http://localhost/apache2-default/k/: ***
Error at line 8, character 45: document type does not allow element "IMG"
here
Error at line 8, character 202: document type does not allow element "HR"
here
Error at line 8, character 241: document type does not allow element "IMG"
here
Error at line 9, character 4: document type does not allow element "HR"
here
Also, by the way
# cd /var/www/apache2-default/k
# touch k.txt j.html
$ lynx -dump http://localhost/apache2-default/k/|grep TXT
[TXT] [6]j.html 08-Feb-2006 07:21 0
[TXT] [7]k.txt 08-Feb-2006 07:21 0
One is disappointed that both are TXT. If this were Microsoft, I bet
the latter would be WEB for better or worse.
Reply to: