php - Redirect 401 "authorization required page" to custom page -
is there simple way can encode front-end php redirect custom page upon error?
i have page in directory protected .htaccess password, if cancel system dialog or enter wrong details, plain html message in browser , have navigate back.
would great have custom error pages solution this.
thanks!
in .htaccess file, add
errordocument 401 /401.html and change 401.html name of file want display.
Comments
Post a Comment