I am currently running a web server using
I would like to know how I can make custom error page, using the proper way.
Please, note that several solutions are available online, but seem deprecated.
I noticed the configuration file
/etc/apache2/conf.d/localized-error-pages.conf. It informs me that the default messages were available in the directory
It also tells me that in order to change the layout, I should add the line :
Alias /error/include/ "/your/include/path"
But it doesn't explain where/how.
Moreover, I tried to change these files, reload
apache2, and get an error page, but the error messages didn't change