Skip to content

Simple redirector for rustdocs #10

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

Closed
wants to merge 1 commit into from
Closed

Simple redirector for rustdocs #10

wants to merge 1 commit into from

Conversation

onur
Copy link
Member

@onur onur commented May 29, 2016

A simple redirector web server for rustdocs. This server will redirect URL's to (rand crate used in this example):

  • /rand/ to latest version of rand: /rand/0.3.14/rand/
  • /rand/0.3 to latest point release of rand 0.3: /rand/0.3.14/rand/

I am planning to use staticfile crate to serve files but looks like I can't mount same urls to different handlers. Basically this server should handle:

  • /rand/0.3.14/ with crate_redirector function
  • /rand/0.3.14/rand/index.html with staticfile crate

@onur onur force-pushed the rustdoc-web-server branch from 72f0623 to 2dea00a Compare May 31, 2016 19:55
@onur onur force-pushed the rustdoc-web-server branch from 2dea00a to 4ba0d6d Compare May 31, 2016 19:57
@onur onur force-pushed the rustdoc-web-server branch from 4ba0d6d to 1d3db0a Compare May 31, 2016 20:34
@onur onur mentioned this pull request Jun 23, 2016
25 tasks
@onur
Copy link
Member Author

onur commented Jun 23, 2016

This pull request evolved to #12, closing this.

@onur onur closed this Jun 23, 2016
@onur onur deleted the rustdoc-web-server branch June 23, 2016 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant