In the Quick Start guide at AxKit.org under Step 2  it shows...
  SetHandler perl-script
as one of the lines to add to httpd.conf. Removing this line fixed my
problem running CGI scripts and AxKit still works fine. Should this be
removed from the Quick Start guide?
Thanks,

Paul


>>> gerrit kuilder <[EMAIL PROTECTED]> 06/04/02 10:45AM >>>
Hello Paul,

this is what I have in my httpd.conf, indeed at the bottom (which seems

to matter)


# Install AxKit main parts
PerlModule AxKit
AddHandler axkit .xml
PerlHandler AxKit
# Setup style type mappings
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
# make sure this is writable by nobody
AxCacheDir /tmp/cachedir
# turn on debugging (1 - 10)
AxDebugLevel 5
#end axkit

I had an extra Axkit option in there which screwed up my cgi handling.

Now it seems to work fine and as expected.

Hope this helps

Paul Lieberman wrote:

>Wow! what a great list, you guys are quick!
>
>Anyhow I do have  'AddHandler axkit .xml .xsp .dkb .axp' but in 3
>lines...
>  AddHandler axkit .xml
>  AddHandler axkit .xsp
>  AddHandler axkit .dkb
>
>and I have
>  AddHandler cgi-script .cgi
>
>The AxKit stuff is at the very end of httpd.conf. Does the order
>matter?
>
>Thanks,
>Paul
>
>
>
>
>>>>Matt Sergeant <[EMAIL PROTECTED]> 06/03/02 04:17PM >>>
>>>>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Monday 03 June 2002 11:41 pm, Paul Lieberman wrote:
>
>>It seems that if I enable AxKit then CGI scripts no longer work
>>
>outside
>
>>of script aliased directories. I normally allow CGI in the root web
>>directory. If I comment out all the AxKit stuff in httpd.conf they
>>
>work
>
>>fine. If I enable AxKit then I get the perl code of the CGI file
>>
>itself
>
>>(bad!). The error log shows AxKit 'not recognised as XML' and
>>
>'provider
>
>>declined' .
>>How can I get CGI scripts and AxKit working at the same time?
>>
>
>Just enable AxKit for certain file types, e.g.
>
>  AddHandler axkit .xml .xsp .dkb .axp
>
>- -- 
><:->get a SMart net</:->
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>
>iD8DBQE8+/kUVBc71ct6OywRAok/AKCJjAScBINon2ZsOmFPFi9UGJvOSwCdFX08
>k5cM9LgjTlJ7Oi0gyge+NwE=
>=Z0sZ
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED] 
>For additional commands, e-mail: [EMAIL PROTECTED] 
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to