On Sun, Nov 8, 2009 at 04:35, panyasan <[email protected]> wrote:
> Oh, I wasn't aware that developing the source version right from the file
> system was the recommended way. In any way, that's not an option for me, I
> need the server because I need the json-rpc backend - we discussed that
> before. Then the solution is to configure the cache/downloads key as you
> suggest.
>
As you know, working with RPC or other qx.io.remote.* requests REQUIRES that
the development be via web server (unless you want to develop with
cross-domain hassles, which I don't). The end of the wiki section pointed to
by Thomas discusses the other of what I'd call recommended development
strategy, which is to allow access from the web server to your local file
system. This should be done in a secure fashion, however. I think I've
posted this before, but here again is the snippet of my Apache2
configuration that allows me to access my home directory via the web server
ONLY if the request comes from "localhost" (127.0.0.1):
<VirtualHost 127.0.0.1>
ServerAdmin webmas...@localhost
DocumentRoot /home/derrell/ME/
<Directory /home/derrell/ME/>
Options FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from All
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
That section is added to the beginning of my
"/etc/apache2/sites-enabled/000-default" file. I can then access my qooxdoo
development environment, e.g. for my qooxit project in qooxdoo-contrib,
using a URL like
http://localhost/qooxdoo/qooxdoo-contrib/trunk/qooxdoo-contrib/qooxit/trunk/source/index.html
Derrell
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel