From 9619a567b6effa4b5b4eb3c9ed6a497e28afa28e Mon Sep 17 00:00:00 2001 From: nphull <34524794+nphull@users.noreply.github.com> Date: Thu, 12 Sep 2019 13:36:35 -0400 Subject: [PATCH] Fix RewriteRule This is the RewriteRule that worked for me with Apache 2.46 on RHEL 7. --- doc/Installation.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Installation.adoc b/doc/Installation.adoc index e76594c..a2078dc 100644 --- a/doc/Installation.adoc +++ b/doc/Installation.adoc @@ -230,7 +230,7 @@ Apache, using a .htaccess file: ---- user@val:~$ sudo sh -c 'cat > /var/www/wsapi/2.0/.htaccess' RewriteEngine on -RewriteRule ^([^/\.\?]+)(\?.*)?$ $1.php$2 [L] +RewriteRule ^(.*/)?([^/.?]+)(\?.*)?$ $1$2.php$3 [L] php_value include_path ".:/etc/yubico/val:/usr/share/yubikey-val"