404 - handling not found pages: различия между версиями
Нет описания правки |
|||
Строка 1: | Строка 1: | ||
[[404_-_handling_not_found_pages|en]] | [[404_-_обработка_ненайденых_страниц|ru]] | [[404_-_handling_not_found_pages|en]] | [[404_-_обработка_ненайденых_страниц|ru]] | ||
For users' convenience, you can specify in your server settings (.htaccess or IIS settings) the display for pages 403, 404 and 500 of your own ERP "UserSide" interfaces. This will help users to return to the login page. | |||
Example lines of the .htaccess file | |||
Options -Indexes | |||
ErrorDocument 404 /var/www/userside/main/error/404.php?type=404 | |||
ErrorDocument 403 /var/www/userside/main/error/404.php?type=403 | |||
ErrorDocument 500 /var/www/userside/main/error/404.php?type=500 |
Текущая версия от 19:02, 2 февраля 2024
For users' convenience, you can specify in your server settings (.htaccess or IIS settings) the display for pages 403, 404 and 500 of your own ERP "UserSide" interfaces. This will help users to return to the login page.
Example lines of the .htaccess file
Options -Indexes ErrorDocument 404 /var/www/userside/main/error/404.php?type=404 ErrorDocument 403 /var/www/userside/main/error/404.php?type=403 ErrorDocument 500 /var/www/userside/main/error/404.php?type=500