From 408013d3ea77dd50f4fb95bd2cb4a01c01717e08 Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Thu, 11 Jun 2026 05:40:23 +0100 Subject: [PATCH] Add rewrite alias for bb-ipn.php to ipn.php (#3749) --- src/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/.htaccess b/src/.htaccess index a33654a1d..deae9cb2f 100644 --- a/src/.htaccess +++ b/src/.htaccess @@ -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]