]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
pytest_suite: fix hardcoded absolute paths in .htaccess files
authorJim Jagielski <jim@apache.org>
Wed, 3 Jun 2026 17:24:44 +0000 (17:24 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 3 Jun 2026 17:24:44 +0000 (17:24 +0000)
commit514a5be1ee7aaaa7f94338a68b9517b2c56cb1bd
tree4f16cde29177415f60579715cab4cc0bed201d66
parent264f12f311010537dce5dbe40fd62e92d444fe23
pytest_suite: fix hardcoded absolute paths in .htaccess files

Both files were committed with /Users/jjagielski/... paths that only
work on one developer's machine.

autoindex2/dir_protected/.htaccess: AuthUserFile now uses a path
relative to ServerRoot (Apache 2.4+ resolves these against the
configured ServerRoot, which the test framework sets to pytest_suite/t/).

setenvif/htaccess/.htaccess: file() argument in SetEnvIfExpr now uses
%{DOCUMENT_ROOT} instead of a hardcoded absolute path.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934937 13f79535-47bb-0310-9956-ffa450edef68
test/pytest_suite/t/htdocs/modules/autoindex2/dir_protected/.htaccess
test/pytest_suite/t/htdocs/modules/setenvif/htaccess/.htaccess