You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

dispatch.fcgi.example 473 B

13 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
1234567891011121314151617181920
  1. #!/usr/bin/env ruby
  2. require File.dirname(__FILE__) + '/../config/boot'
  3. require File.dirname(__FILE__) + '/../config/environment'
  4. class Rack::PathInfoRewriter
  5. def initialize(app)
  6. @app = app
  7. end
  8. def call(env)
  9. env.delete('SCRIPT_NAME')
  10. parts = env['REQUEST_URI'].split('?')
  11. env['PATH_INFO'] = parts[0]
  12. env['QUERY_STRING'] = parts[1].to_s
  13. @app.call(env)
  14. end
  15. end
  16. Rack::Handler::FastCGI.run Rack::PathInfoRewriter.new(RedmineApp::Application)

软件技术创新是当今国家整体创新能力的重要基础和发展引擎。近年来,大众参与的软件创新与创业活动已经成为网络时代软件开发和应用的新形态,正在快速改变着全球软件创新模式和软件产业格局。 ...