Simplifying CD downloads

Jorge Bernal Koke koke at sindominio.net
Sat Dec 4 12:59:58 CST 2004


Found "The right Way" :

http://httpd.apache.org/docs-2.1/mod/mod_autoindex.html#indexstylesheet

IndexStyleSheet Directive
Description:	Adds a CSS stylesheet to the directory index
Syntax:	IndexStyleSheet url-path
Context:	server config, virtual host, directory, .htaccess
Override:	Indexes
Status:	Base
Module:	mod_autoindex

The IndexStyleSheet directive sets the name of the file that will be used as the CSS for the index listing.
Example

IndexStyleSheet "/css/style.css"


On Sat, 4 Dec 2004 10:18:53 -0800
Matt Zimmerman <mdz at canonical.com> wrote:

> It is possible to set a directive in .htaccess which will prevent Apache
> from outputting the HTML preamble, so the whole thing could be placed in
> HEADER.html.
> 
> Unfortunately, if we use it, it seems to de-fancify the directory listing.
> Thom, what's the best way to get what we want?
> 
> -- 
>  - mdz
> 
> -- 
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


-- 
Jorge Bernal "Koke"
Personal: 	koke at sindominio.net
Jabber:		koke at zgzjabber.ath.cx
Blog:		http://www.amedias.org/koke/

"Computer Science is no more about computers than astronomy is about telescopes." - Edsger Dijkstra



More information about the ubuntu-devel mailing list