From: b Date: Sun, 8 Jan 2023 21:25:14 +0000 (+0000) Subject: add reditect /ott/src X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=eafe4244e367f58b9492d4fa249a6cc126a796b0;p=ott%2Fmirror add reditect /ott/src --- diff --git a/makefile b/makefile index 5c071c6..3a1db22 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ # OTT mirror # Copyright (C) 2022 Balthasar Szczepański # "makefile" is automatically generated from "makefile.1.mak" -# 04.12.2022 +# 07.12.2022 # This file is part of OTT mirror. # @@ -246,7 +246,7 @@ mktree: ifdef BIN_PATH cp_bin: $(BIN) setuid | mktree - $(RM) -rf $(BIN_PATH)/* + $(RM) -f $(BIN_PATH)/* $(CP) -p $(BIN) $(BIN_PATH) endif diff --git a/ottmirror.1.conf b/ottmirror.1.conf index 685d359..363e661 100644 --- a/ottmirror.1.conf +++ b/ottmirror.1.conf @@ -25,3 +25,6 @@ ScriptAliasMatch ^/ott/?$ ###CONF_index; Require all granted + +# legacy redirections +Redirect permanent /ott/src http://bicyclesonthemoon.info/git-projects?p=ott/mirror