application only supports being hosted from a "smart" server

Bug #1083296 reported by Gary Poster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Triaged
Wishlist
Unassigned

Bug Description

See http://yuilibrary.com/yui/docs/app/#full-path-vs-hash-based-urls

We currently use full paths for our application. This means that we cannot have the files served statically and completely simply: index.html must be served from any path within our root so that we can support passing URLs around.

Even with a very simple server, this can be accomplished by making index.html the 404 page within our root. More sophisticated/programmable servers can use a more direct/less hacky approach to the same problem.

If we ever want to make it possible to serve these files simply, with index.html only available in a single location--as some environments might require--we will need to revisit this decision. Switching to hash-based URLs is a simple approach. Making the decision configurable is also possible, if that truly gives us value.

For now, this is "Wishlist," indicating that we are not even sure that we want to ever do this work, at this time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.