hack3r3d/paypalita/master/.htaccess
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !AAA.BBB.CCC.DDD
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{DOCUMENT_ROOT}/maintenance.enable -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /maintenance.html [R=503,L]
ErrorDocument 503 /maintenance.html
<FilesMatch "^tip-jar$|^payment-experience-remove$|^payment-experiences$|^cancel$|^cart$|^cart-item-remove$|^cart-update$|^checkout$|^error$|^purchase$|^success$|^thankyou$">
ForceType application/x-httpd-php
</FilesMatch>
On Github License
Files
Download PDF of Htaccess file