Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE: First Script

by Smash8 (Initiate)
on Jul 17, 2000 at 21:47 UTC ( [id://22876]=note: print w/replies, xml ) Need Help??


in reply to First Script

I'm really sorry to keep pestering everyone with my simple problem, but this is my first time every trying to get a script to work. Everyone posted a lot of helpful information for someone with a vague idea of perl, but as I said, I am very new. I think the problem is definately in the access privliges, which seems to be chmod (????). How do I implement chmod to change access? Or is it just a problem my hosting service needs to take care of? Thanks a lot

Replies are listed 'Best First'.
RE: RE: First Script (Ozymandias: Instructions)
by Ozymandias (Hermit) on Jul 17, 2000 at 21:50 UTC
    Your provider might have to do it.

    If you can log in using a shell account, do so. Go to the directory where the script is located, and execute the command (assuming the filename is script.pl) chmod 755 script.pl And that's all you have to do. If you can't do that, then your provider will have to explain how to do it.

    Also, make sure your script is in the CGI directory for the site. Your provider will tell you where that is.

    - Ozymandias

      I really appreciate all the help and patience everyone has been throwing my way.
      If you look at the past messages, I was unable to get my script ot work and before that was due to me not giving access to the file. Now I am getting a 500 (Server error) problem.

      #!/usr/bin/perl

      is the correct directory (i checked with my system administrator) so i'm not sure where I'm going wrong. Again, I appreciate help from everyone willing to help a new guy out. Thanks a lot.

RE: RE: First Script
by Apterigo (Scribe) on Jul 18, 2000 at 02:20 UTC
    You have to have telnet access to the box that houses your script. You simply telnet there and run chmod 755 <filename>.

    Apterigo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://22876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-25 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found