I am setting up a proxy in apache through the directive ProxyPass
and ProxyPassReverse
for some urls:
ProxyPass /mypath http://myotherserver.com
ProxyPassReverse /mypath http://myotherserver.com
However, myotherserver.com
require a (basic) authentication. If I don't do anything, this authentication is passed to the final client. For some reason, I don't want that and I would like to add the credentials directly in my apache configuration. How can I do that ?
I tried:
ProxyPass /mypath http://user:[email protected]
ProxyPassReverse /mypath http://user:[email protected]
But it does not seems to work. Thanks in advance for your help.