sorry, question again, I found weird habit
after using ATS :
- map foo.bar.com --> bar.com/foo       --> OK
- map xyz.com   --> foo.bar.com         --> OK

but when I access xyz.com/abc it won't go to bar.com/foo/abc, but
it's always going to xyz.com/foo/abc. Any suggestion how to solve it?

my remap.conf (where x.x.x.x is bar.com)
map / http://x.x.x.x:8001
map xyz.com     http://x.x.x.x:8001/foo

regards

On Sat, 2012-08-11 at 13:39 +0700, adi.siswanto wrote:
> thanks Leif, it works charmly with this
> map /  http://bar.com:8001/
> 
> regards
> 
> On Fri, 2012-08-10 at 14:02 -0600, Leif Hedstrom wrote:
> > On 08/09/2012 09:02 AM, adi.siswanto wrote:
> > > currently I only tried for
> > > map  http://*.bar.com/    http://bar.com:8001/*
> > > reverse_map http://bar.com:8001/* http://*.bar.com/
> > >
> > 
> > This is not valid syntax. Read the docs, or the example from the default 
> > remap.config. And yes, if you really want to match on *.bar.com, you 
> > should either use regex map, or map on the wildcard (/). E.g. the 
> > following would probably do what you want (assuming you only have bar.com):
> > 
> >      map / http://bar.com:8001
> > 
> > 
> > -- leif
> > 
> 
> 
> Gunakan I-Pay untuk pembelian voucher game online, digital content, 
> full-track dan lainnnya. Topup I-pay dapat menggunakan Transfer bank 
> ,internet banking. Info lengkap I-Pay klik https://ipay.indosatm2.com/
> 
> Disclaimer
> 
> This is an e-mail from PT Indosat Mega Media intended solely for the named 
> addresse(s). It is confidential and may contain legally privileged 
> information. Therefore, any unauthorized use, disclosure or copying of this 
> information is strictly prohibited. 
> PT Indosat Mega Media does not accept liability for any email loss or files 
> damage.


Gunakan I-Pay untuk pembelian voucher game online, digital content, full-track 
dan lainnnya. Topup I-pay dapat menggunakan Transfer bank ,internet banking. 
Info lengkap I-Pay klik https://ipay.indosatm2.com/

Disclaimer

This is an e-mail from PT Indosat Mega Media intended solely for the named 
addresse(s). It is confidential and may contain legally privileged information. 
Therefore, any unauthorized use, disclosure or copying of this information is 
strictly prohibited. 
PT Indosat Mega Media does not accept liability for any email loss or files 
damage.

Reply via email to