HTTP Redirection in DWSWebServer
Here is a small snippet to illustrate how you can perform a conditional HTTP 301 redirection in DWScript, and can serve as an illustration on serving “special” HTTP responses.
This is useful when a website is moved from one domain to another, but the server is not, ie. if both old and new domains are hosted by the same server.
Once upon a time, there was a war (in the developer meaning), between Pascal, and another language whose name begin with the V and B initials.
A recent addition to
Inspired by a