-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Brian,
actually these "corrections" were not very useful, as the setup before already was correct (so I changed it back) and a bit more flexible. The configuration is also covered in INSTALL.txt from the AxKit-Distribution:
CONFIGURATION
In general you should read the AxKit Quick Start guide on http://axkit.org/, but for the impatient, read on.
Once you have AxKit installed, you need to configure Apache to associate XML files with AxKit. In doing so, there are a few considerations to make. If your installation is only going to be handling XML files (ex: no PHP or cgi requests) then it's safe to include the following directives in your httpd.conf:
# note the PerlModule line has to be *outside* any # <Files>, <Location>, <Directory> or <VirtualHost> # sections. PerlModule AxKit
SetHandler axkit
AxCacheDir /tmp/axkit_cache/ AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
If, however, you are using other content handler modules, such as PHP or mod_cgi to send content to the browser, you will more than likely want to use AddHandler:
PerlModule AxKit
AddHandler axkit .xml AddHandler axkit .xsp
The fact that one migth want to use AxKit together with PHP and mod_cgi was why I decided to use the AddHandler-Directives. I have a running setup which actually uses the configuration which is in the wiki, so there is nothing wrong about it.
I can't verify that for Red Hat 8, as I have no test system at the moment, but as the essential parts are self-compiled I am quite sure AddHandler should work on Red Hat 8 as well (I have a running Red Hat 7 where the same configuration works as well).
So please try that considering the part from INSTALL.txt above.
Best Regards,
Benne
Am Mittwoch, 30.07.03, um 02:05 Uhr (Europe/Paris) schrieb Brian Acton:
Hello,- --
The Wiki has already been corrected by someone, probably based on earlier postings to this thread. Following the Wiki's instructions (at http://axkit.org/wiki/view/AxKit/AxKitRedHat9) is tremendously helpful in getting AxKit built for Red Hat systems at least. The same instructions (after the correction) work fine for Red Hat 8 as well, which I've verified during my AxKit install.
Regards,
Brian
Benjamin Boksa wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Simon,
I don't think it is an error as pages served with the configuration in the Wiki get processed fine.
# # Enabling AxKit for this directory # AddHandler axkit .xml .xsp
should be enough to let AxKit handle these files. At least it does handle them for me ;-)...
Best Regards,
Benne
(1) Although the "Dromedaries" example at:
http://axkit.org/wiki/view/AxKit/QuickStart
worked for me, I had actually followed the AxKit installation instructions at:
http://axkit.org/wiki/view/AxKit/AxKitRedHat9
SetHandler perl-script PerlHandler AxKit
Please fix the mistake in the wiki !!!!
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin)
iD8DBQE/JrmjR5U9XkJXZKwRAiNYAJ4mXN87B++WA7CcvaboQ0x059jMcQCeKfTZ 3f4p0HhtPMKBW1xv3HmuK4E= =CkUv -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Benjamin Boksa [EMAIL PROTECTED]
side by site GmbH & Co. KG Druckgestaltung & Webdesign
Barbarastr. 3-9 (Block 6) D-50735 Koeln
Fon: +49 221 2790964 Fax: +49 221 2790965
http://www.sidebysite.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin)
iD8DBQE/J3ZGR5U9XkJXZKwRAkc9AKCF3/4SvSjJCDqPAdbYWbafv2tGogCfZo7Q QRlyPvh1gpZIZbPzc4IH0/8= =87ZG -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]