Received: by taz.hyperreal.com (8.7.6/V2.0) id FAA18744; Wed, 20 Nov 1996 05:18:41 -0800 (PST) Received: from nora.pcug.co.uk by taz.hyperreal.com (8.7.6/V2.0) with SMTP id FAA18705; Wed, 20 Nov 1996 05:18:33 -0800 (PST) Received: from imdb.demon.co.uk by nora.pcug.co.uk id aa26504; 20 Nov 96 13:16 GMT Message-Id: <199611201240.MAA00290> Subject: mod_dir.c: suggested change (fwd) To: apache Date: Wed, 20 Nov 1996 12:40:35 +0000 (GMT) From: Rob Hartill Organization: Internet Movie Database X-pgp-public-key: http://us.imdb.com/pgp.html X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com ----- Forwarded message from Kanthan Pillay ----- Message-ID: <3292D3A2.5374@nn.independent.co.za> Date: Wed, 20 Nov 1996 09:47:16 +0000 From: Kanthan Pillay Organization: Natal Newspapers, Durban, South Africa X-Mailer: Mozilla 3.01Gold (Macintosh; I; PPC) MIME-Version: 1.0 To: apache-bugs@apache.org Subject: mod_dir.c: suggested change Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greetings This is not a bug report but rather a suggestion as to how to deal more consistently with HEADER and README files with automatically generated directory listings. This line: rvputs(r, "Index of ", title_name, "\n ",NULL); automagically forces a title onto every directory listing. I would prefer that the title be defined in the HEADER file. I've patched my source as follows: if(!(tmp = find_header(dir_conf,r))) rvputs(r, "Index of ", title_name, "\n",NULL); There are probably cleaner ways of doing this. I needed to do this to cater for the directory listing of my weekly column which can be found at http://www.nn.independent.co.za/~svpillay/Perspex best, -Kanthan Pillay ----- End of forwarded message from Kanthan Pillay ----- -- Rob Hartill. Internet Movie Database Ltd. http://www.imdb.com/