Re: Problems with ProxyPass to a local ip (using SSL)

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



On 02/29/2016 05:19 AM, C. L. Martinez wrote:
But I am doing some mistakes because every time I'm receiving a loop error.
...
<VirtualHost 192.168.1.5:444>
...
	ProxyPass / http://192.168.1.5:5100/
	ProxyPassReverse / http://192.168.1.5:5100/
	RewriteEngine On
	RewriteRule ^/(.*) https://myweb01.local.domain:444/$1 [R,L]
</VirtualHost>

  As you can see, I need to do a redirection to port 5100 from 444 port and protect it using ssl.

I think you need to figure out whether you want to proxy those requests or rewrite them. You can't reasonably do both.

If you want to keep them SSL protected, then you don't need the rewrite rule at all. Drop it. Right now, you're redirecting clients to the same URL that they loaded to begin with, which is why your client is warning you about a loop.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux