Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 192 - ROOT_URL_PREFIX  (Read 3373 times)
Reuben B.
Four Js
Posts: 1062


« on: September 29, 2023, 01:30:54 am »

When you enter a URL into a Web Browser, the Web Server that processes this request may send this to another server for processing.  The use of a  Reverse Proxy or Load Balancer are the two classic cases where this might occur.  The end-user is unaware that this step occurs, they know they have typed a URL into a browser, but they don’t know and don’t need to know what server is ultimately processing the request.  Similarly this server doing the processing does not necessarily know where the actual request came from, and so if it generates a URL it might generate this URL relative to itself rather than a URL that is suitable for consumption by the public facing web server.
 
ROOT_URL_PREFIX was a Genero Application Server configuration file entry that passed to the Genero Application Server information about the public facing URL.  This entry was deprecated in Genero 4.00 in favour of using X-Forwarded headers which require Web Server configuration.

Read more at https://4js.com/ask-reuben/ig-192/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines