[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: CGIwrapper help!



Ok, I'm wondering if it has something to do with the installation settings
of CGIWrap. (
--with-cgi-dir=PATH ; path relative to home dir for cgi scripts).

Since /home/lj/cgi-bin is not /home/sites/blah maybe it makes a difference?

I'm trying REAL hard to fix this! If you have any thoughts please post.
Thanks.

----- Original Message -----
From: "Eric Winchell" <e@xxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, July 20, 2001 12:07 PM
Subject: Re: CGIwrapper help!


> Ok, I've narrowed it down to ScriptAlias. When it's uncommented the
CGIWrap
> errors happen. When it's commented out they run fine.
>
> The problem is I'm trying to do this:
>
>    AddType text/bml BML
>   Action text/bml /cgi-bin/bmlp.pl
>   AddType text/sbml SBML
>   Action text/sbml /cgi-bin/sbmlp.pl
>
> When it attempts to run those scripts with ScriptAlias commented out, it
> defaults to the master site's cgi directory. Of course, that doesn't
exist,
> so the question is: Why is CGIWrap spitting back errors when the
ScriptAlias
> line is uncommented? Thanks in advance.
>
> ----- Original Message -----
> From: "Eric Winchell" <e@xxxxxxxxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Friday, July 20, 2001 11:39 AM
> Subject: CGIwrapper help!
>
>
> > I realize this topic has been beaten down but I just can't get any perl
to
> > run.
> >
> > [Fri Jul 20 12:30:30 2001] [warn] [client 24.181.92.16] handler
> > "cgi-wrapper" not found for: /home/lj/cgi-bin/test.pl
> > [Fri Jul 20 12:30:30 2001] [error] [client 24.181.92.16] Premature end
of
> > script headers: /usr/cgiwrap/cgiwrap
> >
> > Premissions for test.pl and parent directory are correct and this has
been
> > added to access.conf:
> >
> > <Directory /home/lj>
> > Options Indexes FollowSymLinks Includes ExecCGI
> > AllowOverride All
> > AddHandler cgi-wrapper .cgi
> > AddHandler cgi-wrapper .pl
> >   </Directory>
> >
> > It's a virtual domain and the following lines pertaining to cgi/perl are
> in
> > the vhost area:
> >
> > AddHandler cgi-wrapper .cgi
> > AddHandler cgi-wrapper .pl
> > ScriptAlias /cgi-bin /home/lj/cgi-bin
> >
> > Test.pl runs fine on other virtual domains... the only difference I can
> see
> > is that this particular root directory is /home/lj/htdocs and cgi
> directory
> > /home/lj/cgi-bin
> >
> > Anyone?
> >
>