[alug] .htaccess

raph raph at aldigital.co.uk
Mon Feb 21 10:49:53 GMT 2000


jg at 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 at stu.uea.ac.uk -- We do need your support, tho' ]




More information about the main mailing list