mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-17 21:54:18 +01:00
Fix RewriteRule
This is the RewriteRule that worked for me with Apache 2.46 on RHEL 7.
This commit is contained in:
parent
18ced7b6e7
commit
9619a567b6
@ -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]
|
||||
<IfModule mod_php5.c>
|
||||
php_value include_path ".:/etc/yubico/val:/usr/share/yubikey-val"
|
||||
</IfModule>
|
||||
|
Loading…
x
Reference in New Issue
Block a user