Redirecto to the full path, which includes script_name.
Removed the need for external resources.

The export view works on its own with no external dependencies, so the
whole HTML page can be copy-pasted elsewhere.
Documentation fixes.