Directly navigating to a non-root URL results in a 404 in make debug and make prod

Bug #1169638 reported by Benji York
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Triaged
High
Unassigned

Bug Description

Entering a URL like http://localhost:8888/:gui:/service/wordpress/ into the browser's address box results in a 404. It would appear that the HTTP server we use should be tought about :gui: URLs. Tests would be nice too.

Benji York (benji)
Changed in juju-gui:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Jeff Pihach (hatch) wrote :

This works locally on trunk and on uistage

http://uistage.jujucharms.com:8080/:gui:/service/mediawiki/

Does that link not work for you?

Revision history for this message
Benji York (benji) wrote :

This bug affects only "make prod" and "make debug", it does not affect "make devel" .

Revision history for this message
Gary Poster (gary) wrote :

Simpler problem.

This is our web server for make debug and make prod:

cd build-prod && python -m SimpleHTTPServer 8888

That doesn't do the "if you can't find the file I'm talking about, serve app/index.html" dance, and it never has, namespace or not.

the charm does fine, as does our custom server for make devel. If we want to fix this, we need a more sophisticated server for debug and prod.

Changed in juju-gui:
importance: High → Low
summary: - Directly navigating to a :gui: URL results in a 404
+ Directly navigating to a non-root URL results in a 404 in make debug and
+ make prod
Brad Crittenden (bac)
Changed in juju-gui:
importance: Low → High
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.