[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Re: can't get to a dir via web that was created via cgi script?
- Subject: Re: [cobalt-developers] Re: can't get to a dir via web that was created via cgi script?
- From: "Chief Executive Officer" <ceo@xxxxxxxxxxxxxxxxx>
- Date: Mon Jul 24 07:39:53 2000
- Organization: Worldwide Beauty Store, LLC
You wrote:
> When I create a directory via a cgi script in the root web directory of
one
> of my virtual servers and then try to go to it via a web browser i get a
> "CGIWrap Error: Script Execution Failed"
Telnet or ssh into shell and type the following command replacing it with
your.cgi program name:
perl -c yourprogram.cgi
This will define any syntax errors and point to the line #s causing the
errors.
-Max
----- Original Message -----
From: "tpryor" <tom@xxxxxxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Monday, July 24, 2000 12:27 AM
Subject: [cobalt-developers] Re: can't get to a dir via web that was created
via cgi script?
> Hi,
>
> I give up for tonight, I hope someone out there may have an answer for me.
>
> When I create a directory via a cgi script in the root web directory of
one
> of my virtual servers and then try to go to it via a web browser i get a
> "CGIWrap Error: Script Execution Failed"
>
> here is the output...
>
> CGIWrap encountered an error while attempting to execute this script:
Error
> Message: No such file or directory Error Number: 2
> This message usually indicates there is a problem with the script itself.
> Often this indicates either that the #! line of the script is incorrect,
or
> the script was uploaded in binary mode instead of ascii mode. Check to
make
> sure that the script does not have control-M's at the end of every line.
> That will prevent it from executing. An easy fix that takes care of this
> most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on
the
> first line of the script.
> If you are not the owner of this script, please forward this error and the
> URL that caused it to the script owner. That is often the component in the
> URL right after /cgiwrap/.
>
>
> ...
>
> It appears that the web server thinks it is a script.
>
> if i go to a subdirectory of the dir that the cgi made i get there no
> problem.
>
> any ideas?
>
> Thanks in advance.
>
> t
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>