2026-10-22 12:22:14 +02:00
|
|
|
# SPDX-FileCopyrightText: 2016 Max Mehl <mail@mehl.mx>
|
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
2016-04-27 22:48:27 +02:00
|
|
|
|
2026-10-22 12:22:14 +02:00
|
|
|
# Run update.cgi as CGI and hand the Authorization header to it
|
|
|
|
|
Options +ExecCGI
|
|
|
|
|
AddHandler cgi-script .cgi
|
|
|
|
|
CGIPassAuth On
|
|
|
|
|
|
|
|
|
|
# Optional: config location if it is not ~/etc/snap-dyndns/config.toml
|
|
|
|
|
# SetEnv SNAP_DYNDNS_CONFIG /home/USER/etc/snap-dyndns/config.toml
|
2016-04-27 22:48:27 +02:00
|
|
|
|
2026-10-22 12:22:14 +02:00
|
|
|
# Only update.cgi may be requested, nothing else of this repository
|
|
|
|
|
<FilesMatch "^(?!update\.cgi$)">
|
|
|
|
|
Require all denied
|
2016-04-27 22:48:27 +02:00
|
|
|
</FilesMatch>
|