-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option to specify application base URL #155
Comments
Unfortunately this is not as simple as it sounds since all urls are affected (see also #25, #100 & #123).
Providing feedback on your attempts to fix the problem here is not waste of bandwidth, actually it is highly appreciated for improving the recipes. |
ankostis
added a commit
to ankostis/pypiserver
that referenced
this issue
Jul 2, 2016
ankostis
added a commit
to ankostis/pypiserver
that referenced
this issue
Jul 2, 2016
+ tests: drop TC for relative URLs introduced for pypiserver#25; Checked apache-2.4 & mod_wsgi and works correctly now.
ankostis
added a commit
to ankostis/pypiserver
that referenced
this issue
Jul 2, 2016
+ tests: drop TC for relative URLs introduced for pypiserver#25; Checked apache-2.4 & mod_wsgi and works correctly now.
ankostis
added a commit
to ankostis/pypiserver
that referenced
this issue
Jul 2, 2016
ankostis
added a commit
to ankostis/pypiserver
that referenced
this issue
Jul 2, 2016
+ tests: drop TC for relative URLs introduced for pypiserver#25; Checked apache-2.4 & mod_wsgi and works correctly now.
ankostis
added a commit
that referenced
this issue
Jul 2, 2016
ankostis
added a commit
that referenced
this issue
Jul 2, 2016
ankostis
added a commit
to ankostis/pypiserver
that referenced
this issue
Jul 2, 2016
+ Aboted because BETTER FAIL EARLY, and have user discover the problem from the welcome-page. + tests: drop TC for relative URLs introduced for pypiserver#25; Checked apache-2.4 & mod_wsgi and works correctly now. [ci skip]
Closed
luismsgomes
pushed a commit
to luismsgomes/pypiserver
that referenced
this issue
Feb 15, 2017
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Started pypiserver on port 127.0.0.1:8001 as follows:
Then tried to reverse proxy the application through apache as follows:
I can access the welcome page at the front-facing address
/pypi/
but the URLs in that page are wrong:/simple
should be/pypi/simple
Is it possible to add an option to
pypi-server --app-root=/pypi/
so that all URLs are prefixed with the given URL?The text was updated successfully, but these errors were encountered: