Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
20
public/dispatch.fcgi.example
Executable file
20
public/dispatch.fcgi.example
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../config/boot'
|
||||
require File.dirname(__FILE__) + '/../config/environment'
|
||||
|
||||
class Rack::PathInfoRewriter
|
||||
def initialize(app)
|
||||
@app = app
|
||||
end
|
||||
|
||||
def call(env)
|
||||
env.delete('SCRIPT_NAME')
|
||||
parts = env['REQUEST_URI'].split('?')
|
||||
env['PATH_INFO'] = parts[0]
|
||||
env['QUERY_STRING'] = parts[1].to_s
|
||||
@app.call(env)
|
||||
end
|
||||
end
|
||||
|
||||
Rack::Handler::FastCGI.run Rack::PathInfoRewriter.new(RedmineApp::Application)
|
Loading…
Add table
Add a link
Reference in a new issue