i2p: apache: Catch more I2P locations

They used to fall through and hit a 404

freedombox-team/plinth#1428 Request: I2P support

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
LoveIsGrief 2019-02-28 23:20:02 +01:00 committed by Sunil Mohan Adapa
parent f0f32b014b
commit f2936f0eed
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -24,3 +24,7 @@
TKTAuthToken "admin" "i2p"
</IfModule>
</Location>
# Catch some other root i2p addresses
# These are most likely generated by javascript
RedirectMatch "^/(i2p[^/]+.*)" "/i2p/$1"