[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] RAQ4 cgi problem
- Subject: RE: [cobalt-developers] RAQ4 cgi problem
- From: "GlobalNET Media" <designcompany@xxxxxxxx>
- Date: Tue Dec 19 17:28:00 2000
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Michael,
This should not be a problem. Perl scripts should be writen using shebang.
What this means is that the first line of the file tells Apache where to
find the interpreter (perl in this case), It usually looks like this:
#!/usr/bin/perl
#
# My perl script....
So as long as perl is in the correct place, and the files are executable by
the Apache user (chmod 755 will fix this), then it should just work.
A reliance on file extensions is a DOS/Windows thing and should not get in
your way here.
Cheers
Mike
At 17:20 19/12/2000 -0500, you wrote:
>
>
>I have just recently obtained a RAQ4i server, I have a site of my own I
>would
>like to transfer to it, but the site is written in Perl with out the
>extensions. I would like a /cgi-bin/ directory that apache will
>recognize as executables without the extensions.
>I read H.P. Stroebel's FAQ on cgi for the RAQ, but it didn't cover how to
do
>the "workaround" needed on the RAQ's.
>I have tried apache.org, tech support where I'm co-located (They won't
touch
>any of the operating system for fear of being liable if they mess up and
>void
>the warranty), and at the cobalt website knowledge base. I only need this
>set
>up for a few virtuals, but if it is easier to set up the entire server,
that
>would be fine too.(Better actually)
>There are about 30 sites on the server presently. some with cgi already in
>a cgi-bin directory, would this change affect them in any way?
>I am primarily a web designer, with little system admin experience,
>so any help would be greatly appreciated.
>
>Thanks in advance.
>--
>
>Michael Hooper
>GlobalNet Media
>designcompany@xxxxxxxx
>(905) 722-7943
>
Thanks for your input but I tried running the site, and the scripts won't
execute.
The actual script shows up in the browser window. I double checked the
permissions
and they are set to 755. I believe this is due to AddHandlers.
The only scripts that can be run are .cgi and .pl files. I don't want to
edit
the entire site (25,000+ lines of perl script)
--
Mike