durusmail: quixote-users: Success! (so far) - if modified since
Success! (so far) - if modified since
2003-05-31
Re: Success! (so far) - if modified since
2003-06-02
Success! (so far) - if modified since
Massa, Harald
2003-05-31
Hello Graham,


I applied the patch to mod_scgi.c, recompiled, installed...

172.16.20.42 angemeldet 2003-05-31 21:11:47 4664 "GET /menu/791 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.04sec
172.16.20.42 angemeldet 2003-05-31 21:11:47 4664 "GET /css/menu.css
HTTP/1.1" 304 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.00sec

==> /var/log/scgi/debug-handbuch.log <==
ims shortcut taken, 304 responded

==> /var/log/scgi/access-handbuch.log <==
172.16.20.42 angemeldet 2003-05-31 21:11:54 4664 "GET /menu/767 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.04sec
172.16.20.42 angemeldet 2003-05-31 21:11:58 4664 "GET /menu/778 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.05sec
172.16.20.42 angemeldet 2003-05-31 21:12:01 4664 "GET /menu/768 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.04sec
172.16.20.42 angemeldet 2003-05-31 21:12:05 4664 "GET /menu/783 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.04sec
172.16.20.42 angemeldet 2003-05-31 21:12:07 4664 "GET /menu/828 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.05sec
172.16.20.42 angemeldet 2003-05-31 21:12:11 4664 "GET /menu/830 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.04sec
172.16.20.42 angemeldet 2003-05-31 21:12:11 4664 "GET /dbdok/830 HTTP/1.1"
301 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.02sec
172.16.20.42 angemeldet 2003-05-31 21:12:11 4664 "GET /dbdok/830/ HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.03sec
172.16.20.42 angemeldet 2003-05-31 21:12:13 4664 "GET /dbdok/830/ HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.03sec
172.16.20.42 angemeldet 2003-05-31 21:12:35 4664 "GET /menu/860 HTTP/1.1"
200 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' 0.05sec



and it works. Great!!!

BUT: the IMS-Patch was not enough for mod_scgi.c. Additionally it was
necessary to add a line with "last modified" header ... and that was the
main problem generator (the missing one)

I sent the patch to mod_scgi.c to Neil, also include it in this mail for the
list, if somebody stumbles upon the same error.

*** mod_scgi.c  Sat May 31 21:19:42 2003
--- mod_scgi.c.patched  Sat May 31 21:17:51 2003
***************
*** 219,224 ****
--- 219,226 ----
        add_header(t, "CONTENT_TYPE", lookup_header(r, "Content-type"));
        add_header(t, "DOCUMENT_ROOT", ap_document_root(r));
        add_header(t, "HTTP_ACCEPT", lookup_header(r, "Accept"));
+         add_header(t, "HTTP_IF_MODIFIED_SINCE", lookup_header(r,
"If-Modified-Since"));
+         add_header(t, "HTTP_LAST_MODIFIED", lookup_header(r,
"Last-Modified"));
        add_header(t, "HTTP_REFERER", lookup_header(r, "Referer"));

        hdrs_arr = ap_table_elts(t);


Greetings,

Harald


reply