Running the original version of qooxdoo from a web server

I am trying to run the original version of my qooxdoo application from a web server. The application works fine when downloading from the file system, but does not load when starting from a web server.

+3
source share
2 answers

Suppose you have the qooxdoo infrastructure in: /usr/pack/qooxdoo-1.0/frontendand your application in /home/user/myproject. Now add the symlink to the application directory as follows:

ln -s ../../../../../../../usr/pack/qooxdoo-1.0/frontend qooxdoo

In the file, config.jsonset QOOXDOO_PATHtoqooxdoo

, qooxdoo . - , , FollowSymlink - ...

PS , \\server\user\myproject\source\index.html

+4

(.. : ). script , . -. (- DocumentRoot ), , script , -.

, , -, :

  • -, URL, http://your.web.server/path/to/yourapp/source/index.html.

  • , , , qooxdoo SDK qooxdoo , , -.

    • , - contrib:// , (-/-/), , .
  • , - , , . /a/b/A/myapp qooxdoo /a/b/Z/qooxdoo-sdk /web/apps/myapp , qooxdoo /web/Z/qooxdoo-sdk , ../Z/qooxdoo-sdk will, -.

DocumentRoot Alias ​​ , qooxdoo .

+3

Source: https://habr.com/ru/post/1728477/


All Articles