opalenzuela / opendomo

OpenDomoOS 2 development repository
http://opalenzuela.github.io/opendomo/
GNU General Public License v3.0
34 stars 7 forks source link

Custom error pages #107

Open opalenzuela opened 9 years ago

opalenzuela commented 9 years ago

To provide a professional customer experience, it's important to control the error pages. Some are being included into the package (for the 404 Not found error, for instance) but it's still necessary to activate it adding the following line to the lighttpd custom configuration file:

 server.errorfile-prefix = "/var/www/error-"
opalenzuela commented 9 years ago

As an addition, it would be excellent to have translated error pages to fit each major language. To keep the www root directory clean, it could be:

 server.errorfile-prefix = "/var/www/errors/error-es-"
 server.errorfile-prefix = "/var/www/errors/error-en-"