httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] mod_autoindex CSS
Date Fri, 10 Aug 2001 01:05:07 GMT
Mladen,

  We definately want to extend these things.  That means giving the table entries
some class or id information.  But we need to think through new directives, you can
already set IndexOptions SuppressPreamble, which lets HEADER.html do _all_ the work
of setting up the head, title, stylesheet, and body.

Bill

----- Original Message ----- 
From: "Mladen Turk" <mladen.turk@mail.inet.hr>
To: <new-httpd@apache.org>
Sent: Thursday, August 09, 2001 11:05 AM
Subject: [PATCH] mod_autoindex CSS


> Hi all,
> 
> I was always frustrated with the fact that mod_autoindex gives you only the
> default hard coded look.
> So here is a small patch that enables link to CSS file in the generated
> directory index.
> 
> It works like HEADER and README, but instead of reading that file it only
> checks for the existence and sends <link rel=stylesheet
> href="/someurl/STYLSHEET" type="text/css"> from the  emit_preamble.
> 
> I've added an conf directive "StyleSheetFile" (the exact name can be
> discussed), so in the conf you'll need to put something like
> 
> <IfModule mod_autoindex.c>
>    ReadmeName README
>    HeaderName HEADER
>    StyleSheetName STYLSHEET
>    IndexIgnore .??* *~ *# HEADER* README* STYLSHEET* RCS CVS *,v *,t
> </IfModule>
> 
> I've included in the attachment also a sample STYLSHEET file that gives you
> bluish background, some hoover options, etc..
> I don't know if nowadays there are some browsers that doesn't support the
> CSS.
> 
> What do you guys think of that?
> 
> MT
> 


Mime
View raw message