Servis-Rhino 4211B Uživatelská příručka Strana 224

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 298
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 223
Clicking the "Configure Proxy URLs" link takes us to the proxy editor:
From here we can define proxy definitions. A proxy definition is defined in two parts. The first is
the "context path" which is the path that the browser wishes to logically reach. The second is the
proxied URL which is the actual destination that will be targeted.
Proxies are detected by a prefix of "/proxy".
Here is an example. Imagine we have a REST provider located at:
http://myserver.com/myRest/myRequest
We can make a proxy definition that says:
"/myRest/*" is mapped to "http://myserver.com/myRest"
If a request is then made to the Ajax server at:
/proxy/myRest/myRequest
then the Web Preview Server will route this to:
http://myserver.com/myRest/myRequest
Page 224
Zobrazit stránku 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 297 298

Komentáře k této Příručce

Žádné komentáře