Hi Kyle,
The dev site served by SimpleHttpServer by default only is viewable at
your localhost and is not working for users browsing from the outside
world. So if you have a browser inside your
moby.ihme.washington.edu
machine, you should be able to use your browser to point to
http://localhost:2303/cgi-bin/main.py and see the site live. I would
not recommend to make
http://moby.ihme.washington.edu:2303/cgi-bin/main.py
available. If you just want to give it a try, however, you can edit
file "config/web-weaver.pml" and change the property "html-base" to
http://moby.ihme.washington.edu:2303/, and it should work.
I would recommend to use apache to serve your application to the
outside world. You will need a cgi script similar to
http://luban.danse.us/cgi-bin/aokuang/main.cgi, and you will need to
modify web-weaver.pml to use that cgi script. Suppose you have your
cgi script hosted by apache at
http://moby.ihme.washington.edu/cgi-bin/demo1/main.cgi,
and the static html base (for css and javascripts) is at
http://moby.ihme.washington.edu/demo1 (so that
http://moby.ihme.washington.edu/demo1/javascripts/luban/luban-core.js
exists), the web-weaver.pml file should look like
<inventory>
<component name="web-weaver">
<property name="controller-url">/cgi-bin/demo1/main.cgi</property>
<property name="html-base">/demo1/</property>
</component>
</inventory>
Let me know if you have trouble setting up the cgi script, the main
thing to check there is the path of the python script.
I normally only uses SimpleHttpServer in the development cycle and do
not serve the site using apache until it is time for deploying the
site at a machine. For deployment, the main things to do are
* write a minimal cgi script and make sure it is served
* make sure the static html files are served
* modify web-weaver.pml as explained above
The differences you mentioned in your email are mostly due to recent
minor changes to luban to make it support IE7 and IE8.
Let me know if there is anything unclear, and thanks!
--Jiao