Mobile app version of vmapp.org
Login or Join
Michele947

: What is the precise term for serving internal URLs to external ones? Consider URLs to a public API: https://api.example.com/items https://api.example.com/add https://api.example.com/remove ... Internally,

@Michele947

Posted in: #Apache2 #Proxy #UrlRewriting

Consider URLs to a public API:
api.example.com/items https://api.example.com/add api.example.com/remove ...


Internally, the calls are being served from local URLs, for example: 1.2.3.4:8080/get_items. In order to hide the internal URLs, there is a middleware that fetches the data from the internal URls and serves it to the external ones.

What is the proper name for the middleware that fetches the information from the internal URL and serves it to the public API?

"Proxy" seems to general, and "URL rewriter" seems too narrow.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Michele947

1 Comments

Sorted by latest first Latest Oldest Best

 

@Samaraweera270

What is the proper name for the middleware that fetches the
information from the internal URL and serves it to the public API?


A reverse proxy or gateway:


A reverse proxy is a type of proxy server that retrieves resources on
behalf of a client from one or more servers. These resources are then
returned to the client as though they originated from the server
itself (or servers themselves).


Also, see the Apache docs on mod_proxy:


A reverse proxy (or gateway) by contrast, appears to the client just
like an ordinary web server... The client makes ordinary requests for content in the
name-space of the reverse proxy. The reverse proxy then decides where
to send those requests, and returns the content as if it was itself
the origin.

A typical usage of a reverse proxy is to provide Internet users access
to a server that is behind a firewall.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme