Add rewrite alias for bb-ipn.php to ipn.php (#3749)

This commit is contained in:
Adam Daley authored and GitHub committed 2026-06-11 05:40:23 +01:00
1 parent 3baaf2e215
commit 408013d3ea
1 file changed
+4
+4
View File
@@ -20,6 +20,10 @@ Options -Indexes +SymLinksIfOwnerMatch
RewriteCond %{REQUEST_URI} ^/(index\.php|ipn\.php|install/index\.php|install/install\.php) [NC]
RewriteRule ^ - [L]
# Alias from bb-ipn.php to ipn.php for those who have upgraded from BoxBilling.
# Required for older PayPal transactions as IPN on them cannot be updated.
RewriteRule ^bb-ipn\.php$ /ipn.php [L]
# Block direct access to sensitive files and file types.
RewriteCond %{REQUEST_URI} /themes/[^/]+/config/ [NC]
RewriteRule ^(.*)$ index.php?_url=/$1&_errcode=404 [L]