~sabdfl/apache-mod-digest/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Mark Shuttleworth
  • Date: 2008-02-25 13:54:50 UTC
  • Revision ID: mark@canonical.com-20080225135450-s73ono64s9epbisq
Rejig sample log for neater results

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  * Insert a line like this in the relevant <Directory> stanza:
24
24
    SetOutputFilter digest
25
25
  * Add a custom log which includes the digest:
26
 
    CustomLog /var/log/apache2/sha1.log "\"%U\" %>s %200{SHA1DIGEST}n"
 
26
    CustomLog /var/log/apache2/sha1.log "%>s %200{SHA1DIGEST}n \"%U\""
27
27
 
28
28
You should then see lines like this in the log file:
29
29
 
30
 
  "/index.html" 304 -
31
 
  "/index.html" 200 0192ba11326fe2298c8cb4de616f4d4140213838
 
30
  304 - "/index.html"
 
31
  200 0192ba11326fe2298c8cb4de616f4d4140213838 "/index.html"
32
32
 
33
33
Enjoy!
34
34
Mark Shuttleworth