diff -ur mcz-3.0.1/CHANGES mcz-3.0.2/CHANGES
--- mcz-3.0.1/CHANGES	Tue Jul  7 11:28:49 1998
+++ mcz-3.0.2/CHANGES	Sun Jul 19 11:50:07 1998
@@ -1,3 +1,9 @@
+--- RELEASE 3.0.2 ---
+
+- SetLastModified opet doplneno do dokumentace.
+
+- Pri SetLastModified On se last-modified pro obrazky apod. neaktualizuje.
+
 --- RELEASE 3.0.1 ---
 
 - Opravena chyba zpusobujici nekompilovatelnost modulu nekterymi kompilatory.
@@ -10,7 +16,7 @@
 
 --- ALPHA RELEASE 3.0.0a7 ---
 
-- Direktiva SetLastModified zrusena.
+- Direktiva SetLastModified v dokumentaci zrusena.
 
 - Source charset zvoleny pres <!--mycharset=xxx--> nyni plati i pro includy.
   Compatibility glue only.
diff -ur mcz-3.0.1/README mcz-3.0.2/README
--- mcz-3.0.1/README	Thu Jun 25 21:08:28 1998
+++ mcz-3.0.2/README	Sun Jul 19 09:47:19 1998
@@ -19,7 +19,7 @@
    Popis jednotlivych souboru a navod k instalaci naleznete v souboru INSTALL.
 
    Informace o modulu jsou rovnez k dispozici na jeho domovske strance
-http://www.intersoft.cz/home/cestina.htm, tez existuje mailing-list
+http://www.intersoft.cz/mod_czech/, tez existuje mailing-list
 mod_czech@intersoft.cz (pro prihlaseni poslete text `subscribe mod_czech'
 na adresu majordomo@intersoft.cz).
 
diff -ur mcz-3.0.1/doc/mod_czech.html mcz-3.0.2/doc/mod_czech.html
--- mcz-3.0.1/doc/mod_czech.html	Tue Jun 30 10:26:57 1998
+++ mcz-3.0.2/doc/mod_czech.html	Sun Jul 19 09:49:58 1998
@@ -34,7 +34,7 @@
 předat. </p>
 
 <p>Základní informace, mailový archiv a aktuální verze modulu <em>mod_czech</em>
-naleznete na adrese <a href="http://www.intersoft.cz/home/cestina.htm">http://www.intersoft.cz/home/cestina.htm</a>.
+naleznete na adrese <a href="http://www.intersoft.cz/mod_czech/">http://www.intersoft.cz/mod_czech/</a>.
 Nejnovější verze modulu (včetně alfa a beta verzí) jsou k dispozici na adrese <a href="ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/mcz">ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/mcz</a>.
 Vývoj můžete sledovat v konferenci <a href="mailto:mod_czech@intersoft.cz">mod_czech@intersoft.cz</a>.
 Přihlásíte se zasláním mailu, který v těle dopisu obsahuje text <code>subscribe&nbsp;mod_czech</code>,
@@ -84,6 +84,7 @@
   <li><a href="#CacheEncodedDocs">CacheEncodedDocs</a></li>
   <li><a href="#CzechModule">CzechModule</a></li>
   <li><a href="#EncodeContentType">EncodeContentType</a></li>
+  <li><a href="#SetLastModified">SetLastModified</a></li>
 </menu>
 
 <h4><a href="#stare_direktivy">Direktivy kvůli zpětné kompatibilitě</a></h4>
@@ -564,6 +565,21 @@
     může klient získat i <a href="faq.html#noconv">jinými způsoby</a>.</li>
 </ul>
 
+<hr>
+
+<h2><a name="SetLastModified">SetLastModified</a></h2>
+<!--%plaintext &lt;?INDEX {\tt SetLastModified} directive&gt; -->
+
+<p><strong>Syntaxe:</strong> SetLastModified <em>On</em> | <em>Off</em><br>
+<strong>Kontext:</strong> konfigurace serveru, virtuální server, adresář, .htaccess<br>
+<strong>Implicitně:</strong> <code>SetLastModified On</code><br>
+<strong>Status:</strong> rozšiřující<br>
+<strong>Modul:</strong> mod_czech</p>
+
+<p>Při hodnotě <code>On</code> nastavuje server v HTTP hlavičce překódovaných
+dokumentů položku <code>Last-modified</code> na aktuální datum. Aby správně
+fungovalo cachování, musí být <code>SetLastModified Off</code>.</p>
+
 <hr>
 
 <h2><a name="SourceCharset">SourceCharset</a></h2>
diff -ur mcz-3.0.1/mcz-patch-1.2.6 mcz-3.0.2/mcz-patch-1.2.6
--- mcz-3.0.1/mcz-patch-1.2.6	Tue Jun 30 10:47:58 1998
+++ mcz-3.0.2/mcz-patch-1.2.6	Sun Jul 19 11:53:19 1998
@@ -132,7 +132,7 @@
          now = r->request_time;
  
 +#ifdef MOD_CZECH
-+    if (cfg->set_lm && CZ->czcode) mtime = now;
++    if (cfg->set_lm && CZ->czcode && IsContentTypeForEncoding(r, r->content_type)) mtime = now;
 +#endif
 +
      table_set(r->headers_out, "Last-Modified",
@@ -329,7 +329,7 @@
  #define DEFAULT_MAX_REQUESTS_PER_CHILD 0
  
 +#if defined(MOD_CZECH) && !defined(SERVER_SUBVERSION)
-+#define SERVER_SUBVERSION "mod_czech/3.0.0"
++#define SERVER_SUBVERSION "mod_czech/3.0.2"
 +#endif
 +
  /* If you have altered Apache and wish to change the SERVER_VERSION
diff -ur mcz-3.0.1/mcz_config mcz-3.0.2/mcz_config
--- mcz-3.0.1/mcz_config	Tue Jun 30 10:26:57 1998
+++ mcz-3.0.2/mcz_config	Sun Jul 19 09:47:19 1998
@@ -115,6 +115,9 @@
 # s cachi domluvit podminky cacheovani)?
 CacheEncodedDocs Off
 
+# Nastavovat u prekodovanych dokumentu Last-modified na aktualni cas?
+SetLastModified Off
+
 # Pridavat charset k content-type? (Pokud nemate opravdu dobry duvod, proc tak
 # necinit, ponechte zapnute, standard HTTP/1.1 to explicitne vyzaduje.)
 AddCharsetToContentType On
diff -ur mcz-3.0.1/src/http_protocol.c mcz-3.0.2/src/http_protocol.c
--- mcz-3.0.1/src/http_protocol.c	Fri May  1 01:01:35 1998
+++ mcz-3.0.2/src/http_protocol.c	Sun Jul 19 11:50:57 1998
@@ -370,7 +370,7 @@
         now = r->request_time;
 
 #ifdef MOD_CZECH
-    if (cfg->set_lm && CZ->czcode) mtime = now;
+    if (cfg->set_lm && CZ->czcode && IsContentTypeForEncoding(r, r->content_type)) mtime = now;
 #endif
 
     table_set(r->headers_out, "Last-Modified",
diff -ur mcz-3.0.1/src/httpd.h mcz-3.0.2/src/httpd.h
--- mcz-3.0.1/src/httpd.h	Tue Jul  7 11:29:02 1998
+++ mcz-3.0.2/src/httpd.h	Sun Jul 19 10:15:18 1998
@@ -257,7 +257,7 @@
 #define DEFAULT_MAX_REQUESTS_PER_CHILD 0
 
 #if defined(MOD_CZECH) && !defined(SERVER_SUBVERSION)
-#define SERVER_SUBVERSION "mod_czech/3.0.1"
+#define SERVER_SUBVERSION "mod_czech/3.0.2"
 #endif
 
 /* If you have altered Apache and wish to change the SERVER_VERSION
diff -ur mcz-3.0.1/src/mod_czech.c mcz-3.0.2/src/mod_czech.c
--- mcz-3.0.1/src/mod_czech.c	Tue Jul  7 11:22:11 1998
+++ mcz-3.0.2/src/mod_czech.c	Sun Jul 19 11:50:56 1998
@@ -5,7 +5,7 @@
  *	(c) 1997-1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
  *	(c) 1997-1998 Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>
  *
- *	Home page: http://www.intersoft.cz/home/cestina.htm
+ *	Home page: http://www.intersoft.cz/mod_czech/
  *
  *	This program can be freely used and distributed according to the terms
  *	of the GNU General Public License version 2 as present in file COPYING
@@ -159,7 +159,7 @@
  * Prototypy funkci.
  */
 
-static int IsContentTypeForEncoding(request_rec *r, char *content_type);
+int IsContentTypeForEncoding(request_rec *r, char *content_type);
 static int AddCharsetToMETA(request_rec *r, char *buff);
 static int AddPrefixToHREF(request_rec *r, char *url);
 static int IsDefaultPrefix(czech_server_config *sconf, char *prefx);
@@ -1483,7 +1483,7 @@
 /* -------------------- IsContentTypeForEncoding -------------- */
 /* Fce vraci 1 = ano tento CT prekodujeme
              0 = ne nepodporovany CT        */
-static int IsContentTypeForEncoding(request_rec *r, char *content_type)
+int IsContentTypeForEncoding(request_rec *r, char *content_type)
 {
   czech_dir_config *cfg = CZ_DIR_CONFIG(r);
   char *p;
diff -ur mcz-3.0.1/src/mod_czech.h mcz-3.0.2/src/mod_czech.h
--- mcz-3.0.1/src/mod_czech.h	Tue Jun 30 10:26:57 1998
+++ mcz-3.0.2/src/mod_czech.h	Sun Jul 19 11:50:56 1998
@@ -20,6 +20,7 @@
 int ES_printf(request_rec *r, const char *format, va_list arg);
 void SetupModCzechEncoding(request_rec *r);
 int DecideWhetherEncode (request_rec *r);
+int IsContentTypeForEncoding(request_rec *r, char *content_type);
 int EncodeStream(request_rec *r, const char *buf, int num);
 int find_charset(char *cp);
 char *AddPrefixToURL(request_rec *r, char *url);
diff -ur mcz-3.0.1/src/mod_czech.inc mcz-3.0.2/src/mod_czech.inc
--- mcz-3.0.1/src/mod_czech.inc	Thu Jun 25 21:23:24 1998
+++ mcz-3.0.2/src/mod_czech.inc	Sun Jul 19 09:50:44 1998
@@ -5,7 +5,7 @@
  *	(c) 1997-1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
  *	(c) 1997-1998 Martin Plechsmid <plechsmi@karlin.mff.cuni.cz>
  *
- *	Home page: http://www.intersoft.cz/home/cestina.htm
+ *	Home page: http://www.intersoft.cz/mod_czech/
  *
  *	This program can be freely used and distributed according to the terms
  *	of the GNU General Public License version 2 as present in file COPYING
@@ -30,7 +30,7 @@
 
 static char choice2[] = "</DL><DIV ALIGN=CENTER>\n"
                  "<HR SIZE=2 WIDTH=\"90%\"><BR>\n"
-		 "Tento server používá modul <A HREF=\"http://www.intersoft.cz/home/cestina.htm\">mod_czech</A> "
+		 "Tento server používá modul <A HREF=\"http://www.intersoft.cz/mod_czech/\">mod_czech</A> "
 		 "pro překódovávání znakových sad.\n"
                  "</DIV></BODY></HTML>\n";
 
