Re: HELP..CGI Scripts and Perl!!

1996-10-23 Thread John Labovitz
> What I get is a Error 500 cannot execute counter.pl...

make sure that your script is executable and readable by the web
server:

  % chmod a+rx counter.pl

then, try running counter.pl from the shell:

  % ./counter.pl
  
it won't `work' in the sense of doing the same thing that it would do
if served up by an http server, but at least you'll be able to see
whether perl is complaining about syntax errors.

finally, start a `tail -f' on the error log file that is generated by
the http server (this example may be wrong for you; depends on where
your log files are):

  % tail -f /var/log/apache/errlog

this will show you any errors that the perl interpreter is having
while running the script.  this is a great (well, better) way to debug
cgi scripts.

john

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: HELP..CGI Scripts and Perl!!

1996-10-23 Thread Hakan Ardo
> For months I have tried to get the CGI scripts to work.  Today I really 
> became 
> upset 
> when I got a simple script with the instructions to install it and it still 
> did
> n't work. 
> I will be incredibly greatful to anyone that can help me

Try to log in on you web server machin and do "su nobody", or whatever you have
called the user the server executes cgi-scripts as, and try to run the script,
and see what it says.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


HELP..CGI Scripts and Perl!!

1996-10-23 Thread Walter A. Birriel-Calas
For months I have tried to get the CGI scripts to work.  Today I really became 
upset 
when I got a simple script with the instructions to install it and it still 
didn't work. 
 I went through a book called WEB SITE Administrators Survival Guide that 
explained all 
of the Permissions settings and it still didn't work.

The Url to the CGI script I put is:

http://www2.shorebreak.com/cgi-bin/counter.pl

What I get is a Error 500 cannot execute counter.pl...

I also often get Contact system administrator,  that's me and I am not being 
great help 
to myself...

If anyone can help me with my problem please contact me directly if you can to:

[EMAIL PROTECTED]

I will be incredibly greatful to anyone that can help me

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]