diff --git a/pypiserver/core.py b/pypiserver/core.py index a8a4950..f010e4f 100755 --- a/pypiserver/core.py +++ b/pypiserver/core.py @@ -102,7 +102,7 @@ pip install -i %(URL)ssimple PACKAGE [PACKAGE2...] easy_install -i %(URL)ssimple PACKAGE

-

The complete list of all packages can be found here or via the simple index.

+

The complete list of all packages can be found here or via the /simple index.

This instance is running version %(VERSION)s of the pypiserver software.

@@ -116,7 +116,7 @@ def simpleindex(): prefixes.sort() res = ["Simple Index\n"] for x in prefixes: - res.append('%s
\n' % (x, x)) + res.append('%s
\n' % (x, x)) res.append("") return "".join(res) @@ -137,7 +137,7 @@ def simple(prefix=""): res = ["Links for %s\n" % prefix] res.append("

Links for %s

\n" % prefix) for x in files: - res.append('%s
\n' % (x, os.path.basename(x))) + res.append('%s
\n' % (x, os.path.basename(x))) res.append("\n") return "".join(res) @@ -165,7 +165,7 @@ def server_static(filename): @route('/:prefix') @route('/:prefix/') def bad_url(prefix): - return redirect("../simple/%s/" % prefix) + return redirect("/simple/%s/" % prefix) def usage():