How can I setup dynamic/custom error pages? Печать

  • 0

If you have defined your own custom Error Pages using the "Define Error Pages" tool within the Control Panel, you may have noticed that you can only define the contents of a non-dynamic file. If you want a tighter integration to your dynamic design, then you can do this by modifying ".htaccess". View the examples below and modify any one of them to satisfy your needs.

Examples:
ErrorDocument 401 http://www.foo.com/files/401.php
ErrorDocument 402 /files/error.php
ErrorDocument 403 http://www.foo.com/cgi-bin/script.cgi

Помог ли вам данный ответ?

« Назад