> "The source version is normally only used during development and the
> application can usually be tested in the browser directly off the file
> system. Only in cases where you e.g. need to include interaction with a
> backend you will want to run the source version off a web server
> environment."
>
> That's my case. Even with hello world "custom" tutorial, it worked if I 
> double-clicked the HTML file and my browser opened it as a file:: but it 
> did not work if I got to it via my server, aiming my browser at 
> localhost:8000 and having that default to the custom index.html.
>   


There is a simple rule of thumb, to make a source version run from a Web 
server:

"There has to be a path on the Web server that is the *common root* of 
your application, the qooxdoo SDK installation, and any further qooxdoo 
library (contrib or other) you are including in your app."

Example:
Your source app is in (physical) path:   /a/b/c/myapp/source/index.html.
Your qooxdoo installation is at:         /a/b/d/qooxdoo-0.8-sdk

Then there has to be a path on your Web server pointing to the physical 
directory: /a/b
(/a/b would be the common root for all involved paths).

A simple way to achieve that is to define an alias in the web server 
pointing to a directory "high enough" up towards the root of the file 
system, so that the above mentioned rule holds.

HTH,
Thomas

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to