bytic / http-error-pages
Php Error page generator for Apache
Installs: 2 917
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.0|^8.0
- composer/composer: ^1.0|^2.0
- twig/twig: ^2.0|^3.0
Requires (Dev)
- bytic/controllers: ^0.9|^1.0
- mockery/mockery: ^1.1
- phpunit/phpunit: ^7.2|^8.0|^9.0
This package is auto-updated.
Last update: 2024-12-12 17:54:28 UTC
README
Apache HTTPd
Alias /http-errors /your/errorpages/repo/root/http-errors
ErrorDocument 400 /http-errors/400.html
ErrorDocument 401 /http-errors/401.html
ErrorDocument 403 /http-errors/403.html
ErrorDocument 404 /http-errors/404.html
ErrorDocument 405 /http-errors/405.html
ErrorDocument 406 /http-errors/406.html
ErrorDocument 408 /http-errors/408.html
ErrorDocument 413 /http-errors/413.html
ErrorDocument 414 /http-errors/414.html
ErrorDocument 417 /http-errors/417.html
ErrorDocument 500 /http-errors/500.html
ErrorDocument 502 /http-errors/502.html
ErrorDocument 503 /http-errors/503.html
ErrorDocument 504 /http-errors/504.html
Composer
"scripts": {
"post-autoload-dump": [
"@build-error-pages"
],
"build-error-pages": [
"ByTIC\\HttpErrorPages\\Composer\\ScriptHandler::build"
]
},
"extra": {
"http-error-pages": {
"dist_path": "/public/http-errors"
"suggestion_links" : {
"Home": "https://mydomain.com/",
"Support": "mailto:support@mydomain.com"
}
}
}