[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] CGI trouble RaQ4
- Subject: RE: [cobalt-users] CGI trouble RaQ4
- From: "Ed48" <ed48@xxxxxxxxxxxxxxx>
- Date: Thu Oct 24 01:42:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
To everyone that replied.. THANK YOU!!!!
It was giving permission to the file to execute.
Steven: Thank you! WS_FTP is what I use and that did the trick.
The page that Gerald referred to is EXCELLENT!!!
Again, thank you for everyone's help!!
Ed
> > >On 22 Oct 2002 at 5:09, Ed48 wrote:
> > >
> > > No matter what site or user CGI scripting seems to not work. I did
> > > check the box for enabeling CGI scripting. Here is the test script
> > > and the result. Thank you in advance.
> > > Ed
> >On Tue, 22 Oct 2002 11:29:28 Ian Wrote:
> >
> >Does the script have execute permissions ?
> >
> >cd /path/to/script/
> >chmod +x cgiscript.cgi
> Thanks for replying Ian. I guess I am not sure what you
> mean. I placed a check mark on the site settings screen to
> enable CGI scripts to run. The script is in the web root
> directory along with all of the other files. Can you explain more?
>
> Thank you!
> Ed
>Enabling CGI scripts to run via the GUI effectivly turns on / off CGI
>scripting for that virtual site. It seems you have enabled CGI for the
>virtual site, but the script itself needs to have execute permissions
>before it will run. You can do this with FTP or from the command line...
>
>Depending on your FTP client software, you should be able to FTP the
>script to the virtual site (in ascii mode) and then set it's permissions
>(in WS_FTP Pro, right click the file and look for something along the
>lines of 'UNIX Permissions'). You need to set the permissions to be 755
>(maybe shown as rwxr-xr-x) which allows the script to execute. Some more
>basic FTP clients do not have the option to change permissions.
>
>If you're using the command line, you can change the permissions by
>hand. Change directory to where your script is and use the chmod command
>to change it's permissions. For example:-
>
> cd /home/sites/www.mysite.com/web/
> chmod 755 myscript.pl
>
>Should be good to go...
>
>HTH
~
>Steven
--__--__--
>Message: 13
From: "fsn" <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
>
> cd /home/sites/www.mysite.com/web/
> chmod 755 myscript.pl
>the script does not have to be group and world readable
>Since it belongs to the site.....
>chmod 700 generaly works, and provides better security.
>http://users.iol.it/hpstr/
>HP Stouble used to be on the list and wrote this cgi help page!
>It's good!
>
>Gerald