What is your current remap.config? What URL do you attempt to load? --Jered
----- On Jun 17, 2016, at 10:41 AM, paulz [email protected] wrote: > Good morning, thanks for the reply. you are very kind. > > I have done some tests. I change the ip - to urls, the problem I'm > natando is with the map-reverse. must bring > paulzamb.ing.ula.ve/ula/institucion, instead > paulzamb.ing.ula.ve/institucion returns. > > Another flaw that I could not solve is that no load images to enable > Proxy.config.url_remap.pristine_host_hdr CONFIG INT 1 > > regards > > El 15/06/16 a las 16:36, Jered Floyd escribió: >> >> Ah, I see. >> >> It's hard to set up an "example" install of ATS as a reverse proxy without >> also >> setting up DNS as well -- perhaps you have a toy DNS domain you can use for >> this purpose? >> >> ATS is _really_ easy to use as a reverse proxy. I use it to proxy requests >> for >> multiple different URLs from a single "service address" to many origin >> servers >> internal to my environment. Here are the non-standard configuration options >> I >> use for that purpose (I think this is all of them). >> >> records.config: >> CONFIG proxy.config.url_remap.remap_required INT 1 >> CONFIG proxy.config.url_remap.pristine_host_hdr INT 1 >> CONFIG proxy.config.reverse_proxy.enabled INT 1 >> >> remap.config: (These are a few example lines) >> map http://zimbra.convivian.com/ http://zimbra8.internal.convivian.com/ >> map https://zimbra.convivian.com/ https://zimbra8.internal.convivian.com/ >> >> map http://lists.convivian.com/ http://mailman.internal.convivian.com/ >> map https://lists.convivian.com/ https://mailman.internal.convivian.com/ >> >> map http://tickets.fireflyartscollective.org/ >> http://tickets.internal.convivian.com/ >> map https://tickets.fireflyartscollective.org/ >> https://tickets.internal.convivian.com/ >> >> map http://www.bostonburners.org/ http://wordpress.internal.convivian.com/ >> map https://www.bostonburners.org/ https://wordpress.internal.convivian.com/ >> map http://bostonburners.org/ http://wordpress.internal.convivian.com/ >> map https://bostonburners.org/ https://wordpress.internal.convivian.com/ >> >> map http://www.merrimackdesign.com/ http://wordpress.internal.convivian.com/ >> map https://www.merrimackdesign.com/ >> https://wordpress.internal.convivian.com/ >> map http://merrimackdesign.com/ http://wordpress.internal.convivian.com/ >> map https://merrimackdesign.com/ https://wordpress.internal.convivian.com/ >> [...] >> >> I do not use reverse_map, because all of my origin servers are configured to >> serve the target URLs. >> >> Is this helpful? >> >> --Jered >> >> ----- On Jun 15, 2016, at 3:38 PM, paulz [email protected] wrote: >> >>> hi Jered, >>> >>> excuse me please. >>> >>> Try to explain again: >>> >>> I want to use, ATS as a reverse proxy, to common use would be to map >>> multiple target URLs (domains) to different back-end origin servers. >>> >>> but right now I'm doing tests, I started with mod proxy apache, I wanted >>> to try with squid or varnish, but I saw a presentation of Zwoop, and I'm >>> doing tests with ATS. >>> >>> IP-address only for testing, this is my machine! It is the example! >>> After you learn to use it as a reverse proxy cache and how it would >>> implement. This is a government institution. University of the Andes. We >>> only have one official DNS and is to be used for other sites that is >>> within the University. >>> >>> That is why we seek your help. >>> >>> Thanked beforehand. >>> >>> Paul Zambrano >>> >>> El 15/06/16 a las 15:17, Jered Floyd escribió: >>>> Hi Paul, >>>> >>>> I'm confused about what you're trying to accomplish. I don't understand >>>> what >>>> result you expect with an IP-address URL on the left-hand (target) side of >>>> the >>>> map statement. When using ATS as a reverse proxy, a common use would be >>>> to map >>>> multiple target URLs (domains) to different back-end origin servers, which >>>> may >>>> be referred to by IP address. >>>> >>>> I know this is difficult because of the language differences, but could >>>> you try >>>> explaining to us what behavior you are seeking to achieve? >>>> >>>> Regards, >>>> --Jered >>> >>> -- >>> T.S.U Paul Zambrano >>> Universidad de Los Andes >>> Direccion de Telecomunicaciones y Servicios >>> Centro Nacional de Calculo Cientifico >>> Tlf: 0274 - 2524192 >>> Cel: 0414 - 7294597 / 0426 - 1534959 >> > > -- > T.S.U Paul Zambrano > Universidad de Los Andes > Direccion de Telecomunicaciones y Servicios > Centro Nacional de Calculo Cientifico > Tlf: 0274 - 2524192 > Cel: 0414 - 7294597 / 0426 - 1534959
