[PATCH] Add autoindex_css_file option
ubitux at gmail.com
Mon Feb 21 03:20:27 MSK 2011
On Mon, Feb 21, 2011 at 03:08:18AM +0300, Maxim Dounin wrote:
> On Sun, Feb 20, 2011 at 09:47:37PM +0100, Clément Bœsch wrote:
> > static u_char title =
> > -"<html>" CRLF
> > +"<!DOCTYPE html>" CRLF
> > "<head><title>Index of "
> > ;
> The result isn't html at all.
Well it's HTML5…
The HTML5 syntax is no longer based on SGML despite the similarity of
its markup. It has, however, been designed to be backward compatible
with common parsing of older versions of HTML. It comes with a new
introductory line that looks like an SGML document type declaration,
<!DOCTYPE html>, which triggers the standards-compliant rendering
Did I missed something?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the nginx-devel