GitHub user minahlee opened a pull request: https://github.com/apache/zeppelin/pull/1863
[ZEPPELIN-1920] Fail to load app.js when ZEPPELIN_SERVER_CONTEXT_PATH is set ### What is this PR for? If user set env variable `ZEPPELIN_SERVER_CONTEXT_PATH`, web fails to load `app.xxxxx.js` because `webpack.config.js` configures root path to be `/`. ### What type of PR is it? Bug Fix ### What is the Jira issue? [ZEPPELIN-1920](https://issues.apache.org/jira/browse/ZEPPELIN-1920) ### How should this be tested? 1. open `conf/zeppelin-env.sh` and paste below: ``` export ZEPPELIN_SERVER_CONTEXT_PATH="/zeppelin/" ``` 2. start zeppelin 3. see if you can load `localhost:8080/zeppelin` in browser ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no You can merge this pull request into a Git repository by running: $ git pull https://github.com/minahlee/zeppelin ZEPPELIN-1920 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1863.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1863 ---- commit dbae64db0ebe6657ff1a358ed6396829582ed607 Author: Mina Lee <mina...@apache.org> Date: 2017-01-07T09:12:26Z Use '' instead of '/' for app script path ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---