Rails and Python hosting
I am trying to host some files/rails app in the port 8080
for external access. For Python I am using the SimpleHTTPServer
module, and for Rails, webrick.
However, both of them does not work very well. I don't get t开发者_StackOverflowhe response back, and, sometimes, if I get it, it's VERY slow. Nevertheless, apache works very well on the port 8080
(I am not running them at the same time).
What is going on?
I can't speak for Python, but Webrick is not meant to be used for an in-production application—you didn't mention if this application was in production, though you did say 'external access'.
For Rails, have a look at Passenger.
精彩评论