Hmm.  It looks as though the perhaps relevant part is this:

 - Make sure the files in $(INSTALLPREFIX)/http can be reached via
   your webserver.  Make sure your webserver executes the files
   search, source, ident and diff as cgi-scripts.  With the Apache
   webserver this can be accomplished by making
   $(INSTALLPREFIX)/http/.htaccess contain the following lines:

   <Files ~ (search|source|ident|diff)$>
   SetHandler cgi-script
   </Files>


Was this done?

Mark

-----Original Message-----
From: Ferguson, Neale [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 4:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache and viewing C files


Nope, I've installed lxr and followed all the instructions but still get the
simplistic dump of the code. The output lxr produces is simply a hyperlink
to the source file. Unless the specific site I mentioned has preprocessed
the source files (which I doubt) there must be something more happening.

-----Original Message-----
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

Reply via email to