Re: protected file access by CGI script

2008-08-14 Thread Phil Davis
Brian Yennie wrote: Phil, I'm afraid you seem confused about the use of .htaccess. These files are only for restricting remote access through Apache web servers and have no effect on local file access. You may be seeing the difference because you have tried opening the stack through an HTTP u

Re: protected file access by CGI script

2008-08-14 Thread Jim Ault
Step 1 for me would be to check the file format = legacy, since the cgi engine is not recent Step 2 Try using a simple text files (actually a group of text files) having different protection settings (read access) This should give you the clues you need to go forward. On 8/14/08 2:19 PM, "Phil

Re: protected file access by CGI script

2008-08-14 Thread Brian Yennie
Phil, I'm afraid you seem confused about the use of .htaccess. These files are only for restricting remote access through Apache web servers and have no effect on local file access. You may be seeing the difference because you have tried opening the stack through an HTTP url, which is a b

Re: protected file access by CGI script

2008-08-14 Thread Andre Garzia
Hi Phil, it gets worse. In some web server environments, the files can only be accessed depending on user & group and the file permissions. So the trick is, make sure your files belong to the same user & group of your user. Familiarize yourself with unix permission bits (those cryptic things such

Re: protected file access by CGI script

2008-08-14 Thread Phil Davis
Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. The script is in an unprotected direct

Re: protected file access by CGI script

2008-08-14 Thread Mark Schonewille
Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. If you really want to check some password, include it as an a

protected file access by CGI script

2008-08-14 Thread Phil Davis
How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card': go inv stack url "http://username:[EMAI