是否可以在不使用Apache作为反向代理的情况下设置支持CouchDB的网站URL映射?

是否可以在不使用Apache作为反向代理的情况下设置支持CouchDB的网站URL映射?,couchdb,iriscouch,Couchdb,Iriscouch,事实上,我在CouchDB前面使用Apache作为反向代理运行此程序: <VirtualHost *:80> ServerName abc.com ServerAlias www.abc.com ProxyPass /abc http://localhost:5984/abc ProxyPassReverse /abc http://localhost:5984/abc ProxyPass /_ses

事实上,我在CouchDB前面使用Apache作为反向代理运行此程序:

<VirtualHost *:80>
        ServerName abc.com
        ServerAlias www.abc.com

        ProxyPass /abc http://localhost:5984/abc
        ProxyPassReverse /abc http://localhost:5984/abc

        ProxyPass /_session http://localhost:5984/_session
        ProxyPassReverse /_session http://localhost:5984/_session

        ProxyPass / http://localhost:5984/abc/_design/tt/_rewrite/
        ProxyPassReverse / http://localhost:5984/abc/_design/tt/_rewrite/

</VirtualHost>

服务器名abc.com
服务器别名www.abc.com
ProxyPass/abchttp://localhost:5984/abc
ProxyPassReverse/abchttp://localhost:5984/abc
ProxyPass/\u会话http://localhost:5984/_session
ProxyPassReverse/\u会话http://localhost:5984/_session
ProxyPass/http://localhost:5984/abc/_design/tt/_rewrite/
ProxyPassReverse/http://localhost:5984/abc/_design/tt/_rewrite/
是否可以在CouchDB内部设置
[vhosts]
以在前端不使用Apache反向代理的情况下运行它?

使用
主机
HTTP头进行主要路由


将其与(它们是设计文档的一部分)结合起来,以完成您想要完成的任务。

是的,这是可能的,您尝试过什么吗?是的。玩过
[vhosts]
但没有成功。有人能给我的
[vhosts]
ProxyPass配置的替代方案吗?任何暗示都将不胜感激。