Re: permissions problem with cgi scripting

2009-10-11 Thread Shawn H Corey
Harry Putnam wrote: > This might ought to be another thread... but I wondered...in the case > where cgi is allowed in any directory.. how can they be kept from > being seen? Web servers have a configuration file that maps a http:// location onto a directory. Anything in it or its sub-directories

Re: permissions problem with cgi scripting

2009-10-11 Thread Harry Putnam
Shawn H Corey writes: > The directory's permissions must be writable to create new files. > Apparently it is not to your web server. > > It is considered a security breach to have the directory that contains > your CGIs writable. Consider putting the files in a subdirectory not > accessible via

Re: permissions problem with cgi scripting

2009-10-10 Thread David Christensen
Myf White wrote: I've never done much in the way of cgi scripts before, and am just getting started with it. I have encountered what seems to be a permissions problem, ... When I run this script on the server: > test.cgi, the test.txt file is created. However when I use a browser as a client to

Re: permissions problem with cgi scripting

2009-10-10 Thread Shawn H Corey
Myf White wrote: > I've never done much in the way of cgi scripts before, and am just getting > started with it. I have encountered what seems to be a permissions problem, > which I can't work out how to solve. I'm hoping someone can help me. > > I have a very simple test case: > > #!/usr/bin/per

permissions problem with cgi scripting

2009-10-10 Thread Myf White
I've never done much in the way of cgi scripts before, and am just getting started with it. I have encountered what seems to be a permissions problem, which I can't work out how to solve. I'm hoping someone can help me. I have a very simple test case: #!/usr/bin/perl use strict; use warnings; pri

Problem with cgi

2003-06-27 Thread beginner beginner
Hi All, Seems to be OT but still thought you guys can help me I have an html page If I click submit I calls cgi script and executes that but in my Case Windows XP It is just opening that script. and not executig that. Could you please suggest how to solve this problem Thanks, Amit __