protected file access by CGI script

Jim Ault JimAultWins at yahoo.com
Thu Aug 14 20:48:47 EDT 2008


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 Davis" <revdev at pdslabs.net> wrote:

> 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:password@my.domain.com/lockedFolder/test1.rev"
>    go inv stack url
> "binfile://username:password@/home/username/my.domain.com/lockedFolder/test1.r
> ev"
>    go inv stack url
> "binfile://home/username/my.domain.com/lockedFolder/test1.rev"
> 
> When I try going to it by filepath without user/pass as follows, I get hung:
>    go inv stack "/home/username/my.domain.com/lockedFolder/test1.rev"
> 
> Any ideas how I can get it to work? I thought about altering the
> .htaccess file but I'm not sure what to tell it to allow, nor if that
> would do the job.
> 
> Thanks for all responses.





More information about the use-livecode mailing list