Skip to content

Commit 012a514

Browse files
authored
Add README for mod_444 Apache module
1 parent 281b8a1 commit 012a514

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# mod_444
2+
3+
Apache HTTP Server module that drops the connection (NGINX 444 style).
4+
5+
## Requirements
6+
7+
```shell
8+
apt-get install apache2-dev binutils
9+
```
10+
11+
## Installation
12+
13+
```shell
14+
apxs -c -S LIBEXECDIR=/usr/local/lib/apache2/modules mod_444.c
15+
apxs -i -S LIBEXECDIR=/usr/local/lib/apache2/modules mod_444.la
16+
strip --strip-unneeded /usr/local/lib/apache2/modules/mod_444.so
17+
```
18+
19+
## Configuration
20+
21+
```apache
22+
LoadModule mod_444_module /usr/local/lib/apache2/modules/mod_444.so
23+
```
24+
25+
## Usage
26+
27+
```php
28+
http_response_code(444);
29+
exit;
30+
```

0 commit comments

Comments
 (0)