Neale, I believe it lxr itself that is generating all that stuff, not Apache, per se. I think that they've adjusted the mimetype for the ".c" suffix to be treated the same as ".html" but probably nothing more for Apache.
Mark Post -----Original Message----- From: Ferguson, Neale [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: Apache and viewing C files How do I configure Apache so that if I click on a hyperlink that corresponds to some C source code (or any other language or header file), instead of just getting the raw output produced I get a marked up version? That is, one that has line numbers down the side? For an example of what I mean see: "http://lxr.linux.no/source/drivers/s390/char/tuball.c#L280". (In fact, while you're there check out the LXR package by playing with "http://lxr.linux.no".)
