Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 url 的代理后面运行 sinatra ,http://server/project/以便在应用程序中运行。我的样子是这样的:GET http://server/project/foo/fooconfig.ru
http://server/project/
GET http://server/project/foo
/foo
config.ru
map('/project') { run App }
我在日志中看到"GET /project/ HTTP/1.1" 404;即使我GET '/'定义了一个方法。它在正常运行时工作(只是run App没有map调用)。我不知道为什么。
"GET /project/ HTTP/1.1" 404
GET '/'
run App
map