2002-Aug-10
Temporarily hosting a website -- well just the domain name but not pages. I want all pages to say same "sorry for inconvenience". Two Apache httpd ideas worked:ErrorDocument 404 /index.htmlwhich causes attempts to return 404 status code though. And:
RewriteRule !/index.html /full/path/to/index.htmlIf you don't use full path, then it defaults to server-wide DocumentRoot. And if try to just use a regex like "^.*$" then index.html will be checked to and some loop will cause strange 404.