This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IDENTIFICATION DIVISION. | |
| PROGRAM-ID. HELLO-WORLD. | |
| PROCEDURE DIVISION. | |
| DISPLAY 'Hello, world'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env varnishtest | |
| # Demo of backend-based banning for Varnish, using varnishtest | |
| # Author: Kristian Lyngstol <[email protected]> | |
| # | |
| # License: Consider it public domain. | |
| # | |
| # This is a varnishtest(1) program to demonstrated how a backend can pass | |
| # along a ban through a regular header. It uses a dummy-server and | |
| # dummy-client that doesn't do any logic to track users, which is far | |
| # beyond the scope of the demo. |