repo: actpub
action: blob
revision: 
path_from: ap-outbox.cgi
revision_from: refs/heads/master:
path_to: 
revision_to: 
git.thebackupbox.net
actpub
git clone git://git.thebackupbox.net/actpub

blob of:

actpub

/ ap-outbox.cgi

blob_plain of this file

refs/heads/master:/ap-outbox.cgi

 #!/usr/bin/env bash

 if [ "$REQUEST_METHOD" != "GET" ];then
 	logger -p crit "told someone to 403 the fuck off!"
 	printf "Status: 403 Method Not Allowed\r\n"
 	printf "Content-Type: text/plain\r\n\r\n"
 	printf "only allowed to GET to outboxes atm.\n"
 	exit 0
 fi
 exec ap-collection.cgi "$@"