404 - handling not found pages: различия между версиями
IronBot (обсуждение | вклад) ([IronBot] Sync EN/UK localization from RU) |
|||
| (не показана 1 промежуточная версия 1 участника) | |||
| Строка 1: | Строка 1: | ||
[[404_- | '''en''' | [[404_-_обробка_незнайдених_сторінок|uk]] | [[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 | |||
Текущая версия от 16:49, 23 мая 2026
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