1skallagrimur89
New Member
- Messages
- 4
- Reaction score
- 0
- Points
- 0
Hello, I just got an account today. Looking forward to working on my web programming. I uploaded an simple "Hello World!" CGI script to get me started and I can't seem get right. I always get this error:
Forbidden
You don't have permission to access /hello.cgi on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The permission to public_html is 750 and to hello.cgi is 755. So that should'nt be a problem (I also tried cgi-bin, the same happened).
Here is the simple code:
#!/usr/bin/perl
print "Content-Type: text/plain", "\n\n";
print "Hello World in Perl", "\n";
I also tried changing #!/usr/bin/perl to #!/usr/local/bin/perl
Please help me, thank you.
Forbidden
You don't have permission to access /hello.cgi on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The permission to public_html is 750 and to hello.cgi is 755. So that should'nt be a problem (I also tried cgi-bin, the same happened).
Here is the simple code:
#!/usr/bin/perl
print "Content-Type: text/plain", "\n\n";
print "Hello World in Perl", "\n";
I also tried changing #!/usr/bin/perl to #!/usr/local/bin/perl
Please help me, thank you.
Last edited: