我希望连接到我的apache代理的所有用户都被redirect到同一个服务器上托pipe的一个apache页面。 我很舒服代理重写,301s,proxypass等,但不知道如何将所有请求redirect到自我。
我在/etc/httpd/conf.d/proxy.conf中input了以下内容
ProxyRequests On ProxyVia On <Proxy *> Order deny,allow Deny from all Allow from internal.example.com </Proxy>
我需要做的只是添加一个重写规则到上面?
例如:
RewriteEngine on RewriteRule . index.php [L]