holly9 Posted June 2, 2014 Share Posted June 2, 2014 Hi I use fake IP to check if my 503 custom error page works but it doesn't?. I have another question should i stop people from hotlinking to my rss feed which is also sitemap? and stop people from hotlinking to my robots.txt?. Thanks RewriteEngine on RewriteBase / #UNCOMMENT THE THREE LINES BELOW TO TAKE OFF www RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^adjade\.com RewriteRule (.*) http://adjade.com/$1 [R=301,L] #403 has same page as 404 for security ErrorDocument 403 /errormessages/404.html ErrorDocument 404 /errormessages/404.html ErrorDocument 401 /errormessages/401.html ErrorDocument 500 /errormessages/500.html ErrorDocument 400 /errormessages/400.html ErrorDocument 503 /errormessages/503.html # TO ALLOW YOURSELF TO VISIT THE SITE, CHANGE IP TO YOUR IP ADDRESS. #UNCOMMENT THE TWO LINES BELOW TO GO OFF LINE RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.11$ RewriteRule .* - [R=503,L] Link to comment https://forums.phpfreaks.com/topic/288938-htaccess-cant-show-my-503-custom-error-page/ Share on other sites More sharing options...
jeffreyappel Posted April 9, 2015 Share Posted April 9, 2015 can you mention which web server are you using? Link to comment https://forums.phpfreaks.com/topic/288938-htaccess-cant-show-my-503-custom-error-page/#findComment-1508562 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.