I have problem with leading double double slash when I use apache reverse proxy. ($_SERVER['REQUEST_URI'] always starts with //, except when I access directly root.
Configuration
ProxyPass /admin/ http://admin.example.com/
ProxyPassReverse /admin/ http://admin.example.com/
or
<Location /admin>
ProxyPass http://admin.example.com/
ProxyPassReverse http://admin.example.com/
</Location>
I've tried all possible combinations like
- ProxyPass /admin http://admin.example.com
- ProxyPass /admin http://admin.example.com/
- ProxyPass /admin/ http://admin.example.com
but no luck. Did I miss something?