Matt Sergeant wrote:

> On Tue, 22 Jan 2002, jc153 wrote:
>
> > When I add:
> >
> > SetHandler perl-script
> > PerlHandler AxKit
> >
> > to httpd.conf, all my perl scripts stop working and throw out the code in plain 
>text.
> > Without these lines, AxKit doesn't work.
> >
> > I've tried to get Apache to handle .cgi separately but with no luck.
> >
> > I'm using Apache 1.3.22 on FreeBSD UNIX. I expect there is a simple
> > solution...!
>
> Yup.
>
> Try:
>
>   AddHandler axkit .xml
>
> instead (and any other extensions you want AxKit to handle)

The XML does not appear to be parsed properly - it is outputting raw XML. If I leave 
the
Axkit handler lines in, the perl (.pl and .cgi) scripts still don't work.

Joachim Seibert wrote:

> Another solution is to put your Scripts in a directory like 'cgi-bin'
> and add the following to your httpd.conf:
>
>   <Location /cgi-bin>
>         SetHandler cgi-script
>         Options All
>   </Location>
>
> This works for me.

That seems to solve the problem, but I want to execute scripts from home directories. I
tried setting a handler for .cgi in a similar way, but can't fathom why it didn't
work.

Any suggestions?!

Regards,
Jonathan


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

Reply via email to