|
Hi.
I don't understand what you want to say (no se si por tener el inglés o por el "concepto" en si)... Anyway... I think the "REDIRECT" option doesn't have the meaning I've expected cause when I introduce some value, ZENLB FORCES me to indicate http or https, that is: the value begins with "http://" o "https://", so apparently requires a complete URL with the HOST component. In other words: it appears to function more as a redirection to one EXTERNAL service than a rewrite of the context part of the URL to be send to the backend servers of the defined service. An about the configuration...I paste the content of the PRUEBA_pound.cfg. Some notes: * Obviously I've "obfuscated" the IP address used * ZENLB "offloads" the backends of the SSL layer, so the backends don't use https but http * Expected behavior: When client access: https://SERVICE_PUBLIC_IP/PUBLIC_CONTEXT* ZENLB should send to one of the backend the URL: http://BACKEND/PRIVATE_CONTEXT* ###################################################################### ##GLOBAL OPTIONS User "root" Group "root" ## allow PUT and DELETE also (by default only GET, POST and HEAD)?: #ExtendedHTTP 0 ## Logging: (goes to syslog by default) ## 0 no logging ## 1 normal ## 2 extended ## 3 Apache-style (common log format) #LogFacility local5 LogLevel 0 ## check backend: Timeout 45 Alive 10 Client 30 Control "/tmp/PRUEBA_pound.socket" #HTTP(S) LISTENERS ListenHTTPS Err414 "/usr/local/zenloadbalancer/config/PRUEBA_Err414.html" Err500 "/usr/local/zenloadbalancer/config/PRUEBA_Err500.html" Err501 "/usr/local/zenloadbalancer/config/PRUEBA_Err501.html" Err503 "/usr/local/zenloadbalancer/config/PRUEBA_Err503.html" Address SERVICE_PUBLIC_IP Port 443 xHTTP 1 RewriteLocation 0 #Ciphers "TLSv1+SSLv3+HIGH:-MEDIUM:-LOW*:-ADH*" Cert "/usr/local/zenloadbalancer/config/MICERTIFICADO.pem" #ZWACL-INI Service "tramitador" #HeadRequire "Host: " Url "/PUBLIC_CONTEXT" Redirect "http://PRIVATE_CONTEXT" Session Type IP TTL 120 # #ID "sessionname"" End #BackEnd BackEnd Address BACKEND1_IP Port 8080 End BackEnd Address BACKEND2_IP Port 8080 End #End End #ZWACL-END #Service "PRUEBA" #HeadRequire "Host: " #Url "" #Redirect "" #Session #Type nothing #TTL 120 #ID "sessionname" #End #BackEnd #End #End End ###################################################################### Regards.
Jose Manuel Blanco Cortiñas
|
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________ Zenloadbalancer-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
