httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject mod_dir.c: suggested change (fwd)
Date Wed, 20 Nov 1996 12:40:35 GMT
----- Forwarded message from Kanthan Pillay -----

Message-ID: <>
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
Subject: mod_dir.c: suggested change
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


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, "<HEAD><TITLE>Index of ", title_name, "</TITLE></HEAD><BODY>\n

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, "<HEAD><TITLE>Index of ", title_name,

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

-Kanthan Pillay

----- End of forwarded message from Kanthan Pillay -----

Rob Hartill.       Internet Movie Database Ltd.  

View raw message