apache - .htaccess error document using html fragment - not working, but why? -
can me this?
i trying direct error codes error.html#401 etc.
as example, when go http://www.interimspaces.co.uk , click link under email invitation, if cancel twice basic page without text,
when should http://interimspaces.co.uk/error.html#401
i have tried putting .htaccess file top level directory, in interimspaces.co.uk/pitch, i'm getting same problem.
the code reads:
errordocument 401 /error.html#401 errordocument 404 /error.html#404 errordocument 500 /error.html#500
any appreciated.
thanks.
#
start of comment in apache files, need wrap in quotes:
errordocument 401 "/error.html#401"
Nice articel about , This article help me very well. Thank you. Also please check my article on my site Know All About Htaccess Tutorial. In link article we will learn about htaccess error document.
ReplyDelete