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 authored and Sunil Mohan Adapa committed 2019-04-01 17:32:43 -07:00
1 parent f0f32b014b
commit f2936f0eed
1 file changed
+4
@@ -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"