Jakub Narebski wrote:You can use this attached shell script as a CGI script, to see precisely what information Apache gives you. You can even experiment with passing back headers other than Content-type (such as E-tag), to see what sort of results are produced. The script currently passes back both E-Tag and Last-Modified of a sample file; modify or delete those lines to suit your experiments. Sorry, I was /assuming/ mod_perl would make this available. The HTTP header info is available to all Apache modules, but I confess I have no idea how mod_perl passes that info to scripts. Also, an interesting thing while I was testing the attached shell script: even though repeated hits to the script generate a proper 304 response to the browse, the CGI script and its output run to completion. So, it didn't save work on the CGI side; the savings was solely in not transmitting the document from server to client. The server still went through the work of generating the document (by running the CGI), as one would expect. Jeff
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Ondrej Zary | pata_it821x completely broken |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | Linux 2.6.25.10 |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Theodore Tso | Re: git on MacOSX and files with decomposed utf-8 file names |
| Ken Pratt | Re: pack operation is thrashing my server |
| Junio C Hamano | Re: git-diff on touched files: bug or feature? |
| Richard Stallman | Real men don't attack straw men |
| qw er | OpenBSD sucks |
| Douglas A. Tutty | Re: low-MHz server |
| Josh Grosse | Re: ssh/sshd challenge-response seems to have stopped working in -current |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Steve Wise | pktgen question |
| Ingo Molnar | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+ |
| Sangtae Ha | Re: A Linux TCP SACK Question |
