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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One way is to use mod_headers to add the authorization header when passing the proxied request.

RequestHeader set Authorization "Basic (base64 of the user:pass string)

On Mon, Jan 7, 2019, 02:49 MARASOIU Nicolae-dumitru (renexter) <nicolae-dumitru.marasoiu-extern@xxxxxxxxxxx wrote:

Hello everyone,

 

I have these directives in the httpd conf:

ProxyRemote  "*"  "http://u:p@138.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 * http://u:p@138.21.89.193:3128/

 

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 can I try for corporate authenticated HTTP proxy (basic-auth)?

 

Thank you very much,


Nicolae MARASOIU

Technical Leader


http://group.renault.com/RCW_BINARIES/signature_renault/EMAIL_LOGOS_Groupe_Renault.png

DSIRo

API : ROBUCWGD315
Mob. :
+40 724746655

www.groupe.renault.com

 

-- Disclaimer ------------------------------------
Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme.

*** This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system.

PNG image


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux