Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Locker image + BaseRewriteURL
#5
Using the standard locker (working in 15.0.20).

If I use BaseRewriteURL like so and proxy through Abyss:

//
---------------------------------------------------------------------------

void __fastcall TIWServerController::IWServerControllerBaseRewriteURL(THttpRequest *ARequest,
          UnicodeString &ARewriteURL)
{
  ARewriteURL = "/DFWPE";
}


I get:

Edge -
HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - http://127.0.0.1/dfwpe/$/gfx/loading.gif

Chrome -
DFWPEForm.html:687 GET http://127.0.0.1/dfwpe/$/gfx/loading_svg.svg 404 (Not Found)


One odd thing is Edge is looking for a gif but Chrome is looking for the svg.


If I comment out 'ARewriteURL =' and don't proxy then all works as expected.

My temporary workaround was to create the path '/dfwpe/$/gfx/' under the Abyss root with the gif+svg files, they are then pulled correctly while proxying.
Reply


Messages In This Thread
Locker image + BaseRewriteURL - by MJS@mjs.us - 08-14-2019, 05:45 PM
RE: Locker image + BaseRewriteURL - by MJS@mjs.us - 08-14-2019, 09:55 PM
RE: Locker image + BaseRewriteURL - by MJS@mjs.us - 08-16-2019, 02:06 PM
RE: Locker image + BaseRewriteURL - by MJS@mjs.us - 08-16-2019, 06:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)