mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 21:02:54 +09:00
Add rewrite alias for bb-ipn.php to ipn.php (#3749)
This commit is contained in:
1 parent
3baaf2e215
commit
408013d3ea
1 file changed
+4
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user