Apache htaccess阻止IP访问,但允许某些URL的所有访问

Apache htaccess阻止IP访问,但允许某些URL的所有访问,apache,.htaccess,Apache,.htaccess,我已使用.htaccess成功阻止了对我的私人网站的访问,包括以下内容: ErrorDocument 403 http://error.redirect.com # Stripe webhook IP's SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xxx\.xxx(,| |$)" AllowIP SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xxx\.xxx(,| |$)" AllowIP SetEnvIF X-F

我已使用
.htaccess
成功阻止了对我的私人网站的访问,包括以下内容:

ErrorDocument 403 http://error.redirect.com

# Stripe webhook IP's
SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xxx\.xxx(,| |$)" AllowIP
SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xxx\.xxx(,| |$)" AllowIP
SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xxx\.xx(,| |$)" AllowIP
SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xx\.xx(,| |$)" AllowIP
SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xx\.xxx(,| |$)" AllowIP
SetEnvIF X-Forwarded-For "(,| |^)xx\.xxx\.xx.\xxx(,| |$)" AllowIP

# PayPal Sandbox IPN IP's
SetEnvIF X-Forwarded-For "(,| |^)xxx\.x\.xx\.xxx(,| |$)" AllowIP
SetEnvIF X-Forwarded-For "(,| |^)xxx\.x\.xx\.xx(,| |$)" AllowIP


Order deny,allow
Deny from all
Allow from env=AllowIP
但我需要能够允许某些URL的完全公开访问。如何绕过特定URL的IP限制