DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7966>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7966

Wrong Content-Length when SSI used as DirectoryIndex





------- Additional Comments From [EMAIL PROTECTED]  2002-04-17 03:35 -------
 I can recreate this on 35/solaris 2.6 FWIW content-length and etags shouldn't 
be shown on a SSI page. mod_include ~line 3367    
apr_table_unset(f->r->headers_out, "Content-Length");      /* Always unset the 
ETag/Last-Modified fields - see RFC2616 - 13.3.4.      * We don't know if we 
are going to be including a file or executing      * a program which may change 
the Last-Modified header or make the      * content completely dynamic.  
Therefore, we can't support these      * headers.      * Exception: XBitHack 
full means we *should* set the Last-Modified field.      */     
apr_table_unset(f->r->headers_out, "ETag");      /* Assure the platform 
supports Group protections */     if ((*conf->xbithack == xbithack_full)        
 && (r->finfo.valid & APR_FINFO_GPROT)         && (r->finfo.protection & 
APR_GEXECUTE)) {         ap_update_mtime(r, r->finfo.mtime);         
ap_set_last_modified(r);     }     else {         
apr_table_unset(f->r->headers_out, "Last-Modified");     }  I'm thinking 
AutoIndex is the culprit

Reply via email to