Date: Fri, 11 Nov 2005 08:43:53 -0600 From: Greg Barniskis <nalists@scls.lib.wi.us> To: bob self <bobself@charter.net> Cc: freebsd-questions@freebsd.org Subject: Re: getting apache2 to process xml files? Message-ID: <4374AE29.200@scls.lib.wi.us> In-Reply-To: <4374A646.1090906@charter.net> References: <4374A646.1090906@charter.net>
next in thread | previous in thread | raw e-mail | index | archive | help
bob self wrote: > > I'm running FreeBSD 5.4 and apache2. > > How can I get apache2 to process xml files? Right now it just treats them > as regular files and uploads them to the browser. I'm not sure how the > AddType line should be or what module I need to install and load. You should be asking this in an Apache support forum, since it's not specific to FreeBSD (very little about Apache is, beyond installing the port and making it start at boot time). Be that as it may... Use Cocoon? http://cocoon.apache.org/2.1/overview.html I could be wrong (never done such a thing) but I don't think what you want is nearly as easy as "turn on Apache feature XYZ". You have to tell Apache "use external program XYZ to preprocess XML data" and then you have to configure/program "XYZ" to do something useful like turn your XML into XHTML for the browser (e.g. you probably have to write or at least tune some XSL directives specific to your DTD, in addition to telling Apache to send XML to your XSL preprocessor). -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) <gregb at scls.lib.wi.us>, (608) 266-6348
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4374AE29.200>