apache 配置的等效值是多少

Pra*_*ash 5 .htaccess apache2 nginx apache-config

我需要将以下 nginx 规则转换为 Apache 配置。谁能帮我。

location /chat {
   rewrite            /chat(/.+)$ $1 break;
   proxy_pass         http://localhost:8000;
   proxy_set_header   Host $host;
   proxy_set_header   Cookie $http_cookie;
   proxy_buffering    off;
   proxy_send_timeout 310;
}
Run Code Online (Sandbox Code Playgroud)

Orb*_*ing 2

看看mod_proxy 文档,我认为该ProxyPassMatch指令很有趣。