Re: [WebDNA] Use of Linux commandline

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110310
interpreted = N
texte = Solved ... The problem was that the prefs file for s3cmd was sitting inside = /home/ubuntu/ and therefore not accessible to www-data. The solution was to copy the file to the WebCatalogEngine folder, ensure = it was owned and accessible by WebDNA and then when doing the call to = s3cmd include the path to the NEW config file as per this example. [shell]s3cmd ls = --config=3D"/usr/lib/cgi-bin/WebCatalogEngine/.s3cfg"[/shell] This lists all the buckets in the s3 amazon account Now this is kind of cool because I can now use different config files = for different S3 setups for different clients on the same server. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Use of Linux commandline (Stuart Tremain 2013)
  2. Re: [WebDNA] Use of Linux commandline (William DeVaul 2013)
  3. Re: [WebDNA] Use of Linux commandline (Stuart Tremain 2013)
  4. [WebDNA] Use of Linux commandline (Stuart Tremain 2013)
Solved ... The problem was that the prefs file for s3cmd was sitting inside = /home/ubuntu/ and therefore not accessible to www-data. The solution was to copy the file to the WebCatalogEngine folder, ensure = it was owned and accessible by WebDNA and then when doing the call to = s3cmd include the path to the NEW config file as per this example. [shell]s3cmd ls = --config=3D"/usr/lib/cgi-bin/WebCatalogEngine/.s3cfg"[/shell] This lists all the buckets in the s3 amazon account Now this is kind of cool because I can now use different config files = for different S3 setups for different clients on the same server. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] WebDNA developer (2008) Re:WebCat Emailer & Liststar (1997) searching by part of the date information (1999) Ads.db (1997) Pretty Easy I bet (2000) [WebDNA] Sorting questions (2009) WebDNA Programmer looking for a new job - again! (2002) IE 6 weirdness ??? (2002) Web Catalog 2 demo (1997) show all problem (1997) color and size options (1997) Displays by Categories (2000) RE: Switching To NT (1999) Autherizenet Directconnect woes! (2002) Bookmarked URL with cart (1998) syntax question, not in online refernce (1997) Harvesting invalid email addresses from bounced emails??? (2000) Weird problems with [SHOWIF]s (1997) WebCat editing, SiteGuard & SiteEdit (1997) RE: [WebDNA] directory protection questions (2008)