Am 11.05.2012 23:08, schrieb ArtemGr:
> Tommi Mäkitalo<tommi@...>  writes:
>>> Any chance adding "host" into the mappings?
>>>
>>>
>>>
>> Just do it. It is implemented:
>>
>> "mappings" : [
>>        {
>>          // map / to calc<at>   calc
>>          "url" : "^/%",
>>          "target" : "calc<at>   calc",
>>          "host" : "tntnet.org"
>>    }
>> ]
>>
>> should work.
> I'm trying to use proxy@tntnet.
> It uses request.getArgs()
> and when I try to use it with
>
>      <mapurl>
>        <target>proxy@tntnet</target>
>        <url>^/proxyTest/(.*)$</url>
>        <args>http://myhost/$1</args>
>      </mapurl>
>
> it tells me that "proxy uri missing in configuration".
>
> How do I configure the proxy's request args via the XML mapping?
It should be:

     <mapurl>
       <target>proxy@tntnet</target>
       <url>^/proxyTest/(.*)$</url>
       <args>
          <arg>http://myhost/$1</arg>
       </args>
     </mapurl>


Tommi

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to