jg@cyberstorm.demon.co.uk wrote:
Hi guys,
Anyone know how, via .htaccess in htdocs/, to make *all* web requests return a specified document instead?
I'm thinking of the occassions when I take a website (LNC) down to play with it and I want everyone to see a message in a file elsewhere, like htdocs/placeholder.html instead.
Use the ErrorDocument directive.
See p45 of Apache: the Definitive Guide. O'Reilly.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]