Apache with Passenger for Static HTML Pages

这一生的挚爱 提交于 2019-12-24 21:33:02

问题


I have a Sinatra app deployed on a Passenger server which is talking to Apache via Rack. I was wondering for the static pages if I need not go through the rack implementation as it would be a additional and necessary overhead to display static pages.

So is there a way i can put a condition to Apache to respond to certain URI directly with the static pages and for some to pass it to the Passenger API?

Is this possible via some configuration in Apache or does everything have to go via Rack?

来源:https://stackoverflow.com/questions/30147322/apache-with-passenger-for-static-html-pages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!