This file contains 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 <kristian@bohemians.org> | |
# | |
# 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. |
This file contains 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'. |