DevHeads.net

Postings by MARASOIU Nicolae-dumitru (renexter)

Bad syntax for a remote proxy server (bad port number) - but ProxyRemote set to http://u:p@ip:3128

Hello everyone,

I have these directives in the httpd conf:
ProxyRemote "*" "http://u: ... at 138 dot 21.89.193:3128"
NoProxy "localhost" "127.0.0.0/8" "192.168.112.0/21"

At line 7 (with ProxyRemote) it gives:
AH00526: Syntax error on line 7 of /usr/local/apache2/conf.d/proxy.conf:
ProxyRemote: Bad syntax for a remote proxy server (bad port number)

The same happens when using:
ProxyRemote * <a href="http://u: ... at 138 dot 21.89.193:3128/" title="http://u: ... at 138 dot 21.89.193:3128/">http://u: ... at 138 dot 21.89.193:3128/</a>

However, if I remote the user:pass part it starts up.
Apache version: 2.4.37 (at least ssl module reports being compiled against http 2.4.37)

Please advice, what syntax