Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8767FDA39 for ; Tue, 11 Sep 2012 18:10:37 +0000 (UTC) Received: (qmail 7302 invoked by uid 500); 11 Sep 2012 18:10:35 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 7208 invoked by uid 500); 11 Sep 2012 18:10:35 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 7199 invoked by uid 99); 11 Sep 2012 18:10:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 18:10:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcdcu-couchdb-user@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 18:10:28 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TBUuR-0000WA-Jk for user@couchdb.apache.org; Tue, 11 Sep 2012 20:10:03 +0200 Received: from e0.b1.pop1.bez.sloane.cz ([213.192.58.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Sep 2012 20:10:03 +0200 Received: from marek by e0.b1.pop1.bez.sloane.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Sep 2012 20:10:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@couchdb.apache.org From: marek Subject: Re: External process for =?utf-8?b?aHR0cGRfZ2xvYmFsX2hhbmRsZXJz?= Date: Tue, 11 Sep 2012 16:01:04 +0000 (UTC) Lines: 25 Message-ID: References: <212527d0909290210q24593f14wbe0aa69b7223259c@mail.gmail.com> <23A97FA5-1DEB-40DF-84D7-D506E798FF00@apache.org> <87164E55-15B2-4BB6-AA94-C7D2185516F5@luminis.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 213.192.58.2 (Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11) Dennis Geurts writes: > > Hi Edward, > > I guess from your message that you would like to accomplish the following: > > - use flash to access data from a CouchDB. > > This requires for the CouchDB to serve a file called 'crossdomain.xml' which your flash application will > load first > to verify it's allowed to do so. Flash requires that this file is located at the root of your HTTP server ( e.g. http://flash.example.org/crossdomain.xml). After having spent several hours implementing the above, I came to realize that my Flash actually never sends GET request for /crossdomain.xml anyway, instead it tries to get this file from a standalone server running on port 843 by sending somewhat obscure \0. So the final remedy was Apache module mod_socket_policy_server - An AdobeĀ® Socket Policy Server http://socketpolicyserver.com/ Hope it helps someone.