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

[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