Actually, mod_compress generates the gzipped files, it just doesn't
serve them. For example: I see a file main.css
stv-physik:/var/cache/lighttpd/compress/wiki/skins/stvmonobook# ls -lah
insgesamt 16K
drwx------ 2 www-data www-data 4,0K 26. Aug 16:37 .
drwx------ 4 www-data www-data 4,0K 26. Aug 16:37 ..
-rw------- 1 www-data www-data 7,2K 26. Aug 16:37
main.css-gzip-15746254-27419-1308005320
But if I want to download this file with wget it gives me the following:
josi@t400:~$ wget -Sv
http://stv-physik.uibk.ac.at/wiki/skins/stvmonobook/main.css
--2011-08-26 18:10:48--
http://stv-physik.uibk.ac.at/wiki/skins/stvmonobook/main.css
Auflösen des Hostnamen stv-physik.uibk.ac.at... 138.232.156.216
Verbindungsaufbau zu stv-physik.uibk.ac.at|138.232.156.216|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort...
HTTP/1.0 200 OK
Connection: keep-alive
Vary: Accept-Encoding
Content-Type: text/css
Accept-Ranges: bytes
ETag: "-1540504175"
Last-Modified: Mon, 13 Jun 2011 22:48:40 GMT
Content-Length: 27419
Date: Fri, 26 Aug 2011 16:10:44 GMT
Server: lighttpd/1.4.19
Länge: 27419 (27K) [text/css]
The mime-type text/css is set in the compress.filetype variable.
The relevant parts of my lighttpd.conf look like this:
#### compress module
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ("text/html; charset=utf-8", "text/plain",
"text/html", "application/x-javascript", "text/css", "text/javascript",
"application/javascript", "text/javascript; charset=utf-8",
"application/javascript; charset=utf-8")
Any suggestions?
Johannes
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org