Skip to content

Simple redirector for rustdocs#10

Closed
onur wants to merge 1 commit intomasterfrom
rustdoc-web-server
Closed

Simple redirector for rustdocs#10
onur wants to merge 1 commit intomasterfrom
rustdoc-web-server

Conversation

@onur
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor 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