Servis-Rhino 4211B Podręcznik Użytkownika Strona 224

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 298
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 297 298

Komentarze do niniejszej Instrukcji

Brak uwag