4e14ccc74d
Instiki now runs on the Rails 2.3.0 Candidate Release. Among other improvements, this means that it now automagically selects between WEBrick and Mongrel. Just run ./instiki --daemon
19 lines
487 B
Plaintext
19 lines
487 B
Plaintext
= Known issues with Rack and Web servers
|
|
|
|
* Lighttpd sets wrong SCRIPT_NAME and PATH_INFO if you mount your
|
|
FastCGI app at "/". This can be fixed by using this middleware:
|
|
|
|
class LighttpdScriptNameFix
|
|
def initialize(app)
|
|
@app = app
|
|
end
|
|
|
|
def call(env)
|
|
env["PATH_INFO"] = env["SCRIPT_NAME"].to_s + env["PATH_INFO"].to_s
|
|
env["SCRIPT_NAME"] = ""
|
|
@app.call(env)
|
|
end
|
|
end
|
|
|
|
Of course, use this only when your app runs at "/".
|