Test Apache redirect rules.
Go to file
Zane Bitter 797cb67a37 Use PCRE instead of Python's re for RedirectMatch tests
Previously, RedirectMatch rules were evaluated using Python's re regexp
module. However, Apache httpd uses the PCRE library for evaluating
regular expressions,[1] and there are subtle differences between the
Python and PCRE implementations. Using the PCRE library itself (via the
pcre-python binding) provides more representative results, and hence
more confidence to the user that any rules that pass whereto's tests
will work in the same way in a real Apache configuration.

[1] https://httpd.apache.org/docs/trunk/glossary.html#regex

Change-Id: Ibef3376d9da0688d0c97f5837dacc5b7cc52431c
2017-11-09 09:57:27 -05:00
doc add support for testing paths are not redirected 2017-10-11 14:58:49 -04:00
releasenotes/notes Use PCRE instead of Python's re for RedirectMatch tests 2017-11-09 09:57:27 -05:00
tools fix CI configuration issues 2017-09-20 14:30:03 -04:00
whereto Use PCRE instead of Python's re for RedirectMatch tests 2017-11-09 09:57:27 -05:00
.coveragerc Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
.gitignore Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
.gitreview Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
.mailmap Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
.testr.conf Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
babel.cfg Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
bindep.txt Use PCRE instead of Python's re for RedirectMatch tests 2017-11-09 09:57:27 -05:00
CONTRIBUTING.rst Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
HACKING.rst Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
LICENSE Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
README.rst update documentation URL 2017-08-23 15:39:43 -04:00
requirements.txt Use PCRE instead of Python's re for RedirectMatch tests 2017-11-09 09:57:27 -05:00
setup.cfg stub in command line app 2017-08-23 11:57:46 -04:00
setup.py Initial Cookiecutter Commit. 2017-08-23 11:16:01 -04:00
test-requirements.txt update documentation 2017-08-23 15:27:40 -04:00
tox.ini Use PCRE instead of Python's re for RedirectMatch tests 2017-11-09 09:57:27 -05:00

whereto

Test Apache redirect rules.

whereto is an app for testing redirect rules like what may appear in a .htaccess file for Apache. It provides a way to test those rules in CI jobs.