[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Trying to be a standalone server but failing
Depends whether you've set the type of the file up right. CGI programs
need to be in the right folder (often, programs outside /cgi-bin/ are not
executable, for security reasons), they need to be chmod a+x (for a very
insecure CGI ;) and you need to make sure it is executed by the PERL
interpreter (i.e., #!/bin/perl , or something similar, must be the first
line of the program). Forget Apache, that's not where the problem is -
from the sounds of it, your httpd is working fine.
Cheers,
Alex.
On Tue, 11 Jul 2000, Jonathan Machell wrote:
> I think the subject says it all. I'm getting into Perl and CGI things and want
> my computer to be a standalone server so that I can execute Perl via Netscape.
> However, Netscape just displays the source code for any programs that I try and
> execute. I must be doing something very wrong.
>
> I've checked /etc/rc.config and START_HTTPD is set to "yes". What else do I
> need to do? Is something wrong with Netscape? Probably not. Hmmmm. Anyone
> any ideas?
>
> Thanks for your help.
>
> Jonathan.
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word
> "unsubscribe" in the body of the message.
>
> GNU the choice of a complete generation.
>
>
>
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.