I want to show 503 error on a specific URL of my website. This should only apply to that specific URL and other pages should load fine. So far I've tried the following with no luck. Any help is appreciated. Thanks.
ErrorDocument 503 "Our website is temporarily closed for scheduled maintenance."
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !http://example.com/myspeicifcpage$
RewriteRule .* - [R=503,L]