Adding config for error pages.
Removing non-dynamic error directive