~alpine/devel

1

[alpine-devel] lighttpd nice dir listing

Carlo Landmeter <clandmeter@gmail.com>
Details
Message ID
<1b2623ac0901070442j7e1846e8gc0735f17cca4e383@mail.gmail.com>
Sender timestamp
1231332176
DKIM signature
missing
Download raw message
Natanael as promissed:


Need to set the correct path for http'url' and I'm ot sure if we can
set footer like this and maybe the exclude should be a proper regex to
hide the dirlisting directory.

$HTTP["url"] =~ "^/download($|/)" {
  dir-listing.activate = "enable"
  dir-listing.external-css = "/dirlisting/style.css"
  dir-listing.hide-header-file = "enable"
  dir-listing.exclude = "dirlisting"
  dir-listing.set-footer = "<span id="\footer\"><center>Alpine Linux
Mirror</center></span></div>"
}
Details
Message ID
<1231429797.26236.41.camel@nc>
In-Reply-To
<1b2623ac0901070442j7e1846e8gc0735f17cca4e383@mail.gmail.com> (view parent)
Sender timestamp
1231429797
DKIM signature
missing
Download raw message
On Wed, 2009-01-07 at 13:42 +0100, Carlo Landmeter wrote:
> Natanael as promissed:
> 
> 
> Need to set the correct path for http'url' and I'm ot sure if we can
> set footer like this and maybe the exclude should be a proper regex to
> hide the dirlisting directory.
> 
> $HTTP["url"] =~ "^/download($|/)" {
>   dir-listing.activate = "enable"
>   dir-listing.external-css = "/dirlisting/style.css"
>   dir-listing.hide-header-file = "enable"
>   dir-listing.exclude = "dirlisting"
>   dir-listing.set-footer = "<span id="\footer\"><center>Alpine Linux
> Mirror</center></span></div>"
> }

I could not get it use the header.html.

I copied the default lighttpd css, added the bg-main.jpg as a background
image for h2 and adjusted the margins a bit.

almost as good :)

http://dev.alpinelinux.org/alpine/

-nc



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)