404 - handling not found pages

Материал из WiKi - UserSide

en | 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