[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: CGIwrapper help!
- Subject: [cobalt-users] Re: CGIwrapper help!
- From: "Eric Winchell" <e@xxxxxxxxxxxxxxxxx>
- Date: Fri Jul 20 02:10:06 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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?
>