PHPMentorsProxyURLRewriteBundle 1.2.0 (stable)
Release Date: 2016-10-31 UTC
What's New in PHPMentorsProxyURLRewriteBundle 1.2.0
Proxy host filtering
(Issue #11)
This allows you to modify the hostname of the proxy URL at runtime.
To enable this feature, configure the proxy_host_filter_service
element for the proxy URL as the following:
app/config/config.yml
:
# ...
phpmentors_proxy_url_rewrite:
proxy_urls:
foo_bar:
path: "!^.*!"
proxy_url: "http://www.example.com/foo/bar"
proxy_host_filter_service: app.proxy_host_filter
The class for proxy_host_filter_service
must implement ProxyHostFilterInterface
.
A proxy URL with the port number
(Issue #9)
This allows you to specify the proxy URL with the port number as the following:
app/config/config.yml
:
# ...
phpmentors_proxy_url_rewrite:
proxy_urls:
foo_bar:
path: "!^.*!"
proxy_url: "http://www.example.com:8080/foo/bar"
New minimum required Symfony version
(Issue #12)
As of this version, Symfony 2.8.0 or greater is required.