PHPackages                             drupal-module/http\_handler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. drupal-module/http\_handler

ActiveDrupal-module[HTTP &amp; Networking](/categories/http)

drupal-module/http\_handler
===========================

This module provide handler in order to support multiple Exceptions for 4xx or 5xx HTTP status code

v7.0.6.0(6y ago)115GPL-2.0PHPPHP &gt;=5.3.9

Since Aug 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ducks-project/http-handler)[ Packagist](https://packagist.org/packages/drupal-module/http_handler)[ Docs](https://github.com/ducks-project/http-handler)[ RSS](/packages/drupal-module-http-handler/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (7)Used By (0)

HTTP HANDLER
============

[](#http-handler)

Drupal's module which provide handler in order to support multiple Exceptions for 4xx or 5xx HTTP status code.

INTRODUCTION
------------

[](#introduction)

The HTTP Handler module offer possibility to support many of the http status return code in Drupal.

For example, when anonymous user try to get content of a "secure" node it will throw a 401 instead of a 403. You can customize error page with a content node type like 404 or 403 error page.

- For a full description of the module, visit the project page: [https://drupal.org/project/http\_handler](https://drupal.org/project/http_handler)
- To submit bug reports and feature suggestions, or to track changes: [https://drupal.org/project/issues/http\_handler](https://drupal.org/project/issues/http_handler)

REQUIREMENTS
------------

[](#requirements)

This module currently does not requires any other modules, but you should use a Drupal &gt;= 7.10

RECOMMENDED MODULES
-------------------

[](#recommended-modules)

- Markdown filter (): When enabled, display of the project's README.md help will be rendered with markdown.
- X Autoload (): Provides Drupal-8-style PSR-4.

INSTALLATION
------------

[](#installation)

- Install as you would normally install a contributed Drupal module. Visit: for further information.

CONFIGURATION
-------------

[](#configuration)

Customize error's look content in Administration » Configuration » Système.

TROUBLESHOOTING
---------------

[](#troubleshooting)

- If error page does not show the correct content.
- Because by default it show 403 errors, make sure you've clean cache before testing. Headers should be good instead.

FAQ
---

[](#faq)

Q: Is the module works with fast\_404?

A: Regards to fast\_404 it should. But you'll not have all proposed errors from http\_handler module.

MAINTAINERS
-----------

[](#maintainers)

Current maintainers:

- Adrien Loyant (donaldinou) -

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~122 days

Recently: every ~182 days

Total

7

Last Release

2507d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0642cbb897484fb50a72d1c6f9e4ea6f53f776a3bfc0fdb36cd2b1536b0c1872?d=identicon)[donaldinou](/maintainers/donaldinou)

---

Top Contributors

[![donaldinou](https://avatars.githubusercontent.com/u/429269?v=4)](https://github.com/donaldinou "donaldinou (6 commits)")

---

Tags

httpdrupalexceptionscorehandlermoduleImprovement

### Embed Badge

![Health badge](/badges/drupal-module-http-handler/health.svg)

```
[![Health](https://phpackages.com/badges/drupal-module-http-handler/health.svg)](https://phpackages.com/packages/drupal-module-http-handler)
```

###  Alternatives

[psr/http-server-handler

Common interface for HTTP server-side request handler

180114.7M1.2k](/packages/psr-http-server-handler)[eljam/guzzle-jwt-middleware

A jwt authentication middleware for guzzle 6

28761.5k3](/packages/eljam-guzzle-jwt-middleware)[middlewares/error-handler

Middleware to handle http errors

14110.9k14](/packages/middlewares-error-handler)[rtheunissen/guzzle-cache-handler

Guzzle 6/7 handler used to cache responses

12146.5k](/packages/rtheunissen-guzzle-cache-handler)[leocavalcante/request-callback

Swoole request callback for PSR compliant handlers.

261.2k1](/packages/leocavalcante-request-callback)[northwoods/router

Fast router for PSR-15 request handlers

161.4k](/packages/northwoods-router)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
